ansible/deploy.yml

118 lines
1.5 KiB
YAML

---
- name: mount rw
hosts:
- pikvm
become: true
pre_tasks:
- name: mount rw
command: /usr/local/bin/rw
- name: common roles
hosts:
- caladan
- fugu
- narwhal
- snitch
- suricata
- pikvm
become: true
roles:
- basic
- users
- repos
- sshd
vars:
users:
- rilla
- ansible
- builder
- gopass
- woodpecker
- name: cryptoraid
hosts:
- suricata
become: true
roles:
- cryptoraid
tags: raid
- name: mounts
hosts:
- suricata
become: true
roles:
- mounts
- name: usercfg
hosts:
- suricata
become: true
roles:
- usercfg
- name: pi_fan_hwpwm
hosts:
- suricata
become: true
roles:
- pi_fan_hwpwm
- name: quality of life tools
hosts:
- caladan
- fugu
- narwhal
- suricata
become: true
roles:
- quality_of_life
- name: wifi setup
hosts: snitch
become: true
roles:
- wifi
- name: caladan-specific things
hosts: caladan
become: true
roles:
- tinyproxy
- name: wireguard
hosts:
- caladan
- fugu
become: true
roles:
- wireguard
- name: setup gopass
become: true
hosts:
- caladan
- fugu
- narwhal
pikvm
roles:
- gopass
tags: gopass
- name: lbu commit
hosts:
- snitch
- suricata
become: true
roles:
- lbu_commit
- name: mount ro
hosts:
- pikvm
become: true
post_tasks:
- name: mount ro
command: /usr/local/bin/ro