role order refactoring

main
Ricard Illa 2022-10-31 13:32:04 +01:00
parent b127584a25
commit a558dba140
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
1 changed files with 28 additions and 20 deletions

View File

@ -8,6 +8,19 @@
- name: mount rw - name: mount rw
command: /usr/local/bin/rw command: /usr/local/bin/rw
- name: basic roles
hosts:
- caladan
- fugu
- narwhal
- snitch
- suricata
# - pikvm
become: true
roles:
- repos
- basic
- name: cryptoraid - name: cryptoraid
hosts: hosts:
- suricata - suricata
@ -30,13 +43,6 @@
roles: roles:
- usercfg - usercfg
- name: pi_fan_hwpwm
hosts:
- suricata
become: true
roles:
- pi_fan_hwpwm
- name: docker - name: docker
hosts: hosts:
- caladan - caladan
@ -45,14 +51,6 @@
roles: roles:
- docker - docker
- name: podman
hosts:
- suricata
become: true
roles:
- podman
tags: podman
- name: common roles - name: common roles
hosts: hosts:
- caladan - caladan
@ -63,9 +61,7 @@
# - pikvm # - pikvm
become: true become: true
roles: roles:
- basic
- users - users
- repos
- sshd - sshd
vars: vars:
users: users:
@ -75,7 +71,6 @@
- gopass - gopass
- woodpecker - woodpecker
- name: quality of life tools - name: quality of life tools
hosts: hosts:
- caladan - caladan
@ -86,6 +81,21 @@
roles: roles:
- quality_of_life - quality_of_life
- name: pi_fan_hwpwm
hosts:
- suricata
become: true
roles:
- pi_fan_hwpwm
- name: podman
hosts:
- suricata
become: true
roles:
- podman
tags: podman
- name: wifi setup - name: wifi setup
hosts: snitch hosts: snitch
become: true become: true
@ -150,8 +160,6 @@
# doesn't seem to work with encryption # doesn't seem to work with encryption
shell: shell:
cmd: lbu commit cmd: lbu commit
environment:
PASSWORD: '{{ lbu_password }}'
when: ansible_distribution == "Alpine" and alpine_mode in ["diskless", "data"] when: ansible_distribution == "Alpine" and alpine_mode in ["diskless", "data"]
- name: mount ro - name: mount ro