refactor roles

main
Ricard Illa 2022-09-06 11:10:05 +02:00
parent dd7ae7c64b
commit b4d77d5657
1 changed files with 27 additions and 33 deletions

View File

@ -1,26 +1,41 @@
--- ---
- name: snitch deployment
hosts: snitch - name: common roles
hosts:
- caladan
- narwhal
- fugu
- snitch
become: true become: true
roles: roles:
- basic - basic
- users - users
- sshd - sshd
- wifi
- lbu_commit
vars: vars:
users: users:
- rilla - rilla
- ansible - ansible
- woodpecker
- name: caladan deployment - name: quality of life tools
hosts:
- caladan
- narwhal
- fugu
become: true
roles:
- quality_of_life
- name: wifi setup
hosts: snitch
become: true
roles:
- wifi
- name: caladan-specific things
hosts: caladan hosts: caladan
become: true become: true
roles: roles:
- basic
- users
- sshd
- quality_of_life
- tinyproxy - tinyproxy
vars: vars:
users: users:
@ -28,29 +43,8 @@
- ansible - ansible
- woodpecker - woodpecker
- name: narwhal deployment - name: lbu commit
hosts: narwhal hosts: snitch
become: true become: true
roles: roles:
- basic - lbu_commit
- users
- sshd
- quality_of_life
vars:
users:
- rilla
- ansible
- woodpecker
- name: fugu deployment
hosts: fugu
become: true
roles:
- basic
- users
- sshd
- quality_of_life
vars:
users:
- rilla
- ansible