Conditionally run reflector role rather than manually defining which machines run arch
This commit is contained in:
parent
63ec7c671a
commit
a5aa21429c
1 changed files with 2 additions and 8 deletions
|
@ -5,6 +5,8 @@
|
||||||
become: true
|
become: true
|
||||||
vars:
|
vars:
|
||||||
ntp_timezone: Europe/London
|
ntp_timezone: Europe/London
|
||||||
|
- role: realorangeone.reflector
|
||||||
|
when: ansible_os_family == 'Archlinux'
|
||||||
|
|
||||||
- hosts: casey
|
- hosts: casey
|
||||||
roles:
|
roles:
|
||||||
|
@ -35,14 +37,6 @@
|
||||||
- duplicati
|
- duplicati
|
||||||
- grafana
|
- grafana
|
||||||
|
|
||||||
# Arch boxes
|
|
||||||
- hosts:
|
|
||||||
- grimes
|
|
||||||
- casey
|
|
||||||
- walker
|
|
||||||
roles:
|
|
||||||
- realorangeone.reflector
|
|
||||||
|
|
||||||
- hosts: walker
|
- hosts: walker
|
||||||
roles:
|
roles:
|
||||||
- contessa
|
- contessa
|
||||||
|
|
Loading…
Reference in a new issue