Conditionally run reflector role rather than manually defining which machines run arch

This commit is contained in:
Jake Howard 2020-08-19 18:58:58 +01:00
parent 63ec7c671a
commit a5aa21429c
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -5,6 +5,8 @@
become: true
vars:
ntp_timezone: Europe/London
- role: realorangeone.reflector
when: ansible_os_family == 'Archlinux'
- hosts: casey
roles:
@ -35,14 +37,6 @@
- duplicati
- grafana
# Arch boxes
- hosts:
- grimes
- casey
- walker
roles:
- realorangeone.reflector
- hosts: walker
roles:
- contessa