Split up play into more groups
This commit is contained in:
parent
e26ad50415
commit
afd3e44618
@ -1,19 +1,25 @@
|
|||||||
---
|
---
|
||||||
- name: "play : system : ups, smart, zfs : yggdrasil"
|
- name: "play : system : ups"
|
||||||
hosts: "yggdrasil"
|
hosts: "ups"
|
||||||
roles:
|
roles:
|
||||||
- role: "system_ups"
|
- role: "system_ups"
|
||||||
tags: "role:system_ups"
|
tags: "role:system_ups"
|
||||||
|
|
||||||
|
- name: "play : system : smart"
|
||||||
|
hosts: "smart"
|
||||||
|
roles:
|
||||||
|
- role: "system_smart"
|
||||||
vars:
|
vars:
|
||||||
smartd_conf_file_path: "files/system_smart/smartd.conf"
|
smartd_conf_file_path: "files/system_smart/smartd.conf"
|
||||||
when: the_nine_worlds_production | bool
|
|
||||||
- role: "system_smart"
|
|
||||||
tags: "role:system_smart"
|
tags: "role:system_smart"
|
||||||
when: the_nine_worlds_production | bool
|
|
||||||
|
- name: "play : system : zfs"
|
||||||
|
hosts: "zfs"
|
||||||
|
roles:
|
||||||
- role: "system_zfs"
|
- role: "system_zfs"
|
||||||
tags: "role:system_zfs"
|
tags: "role:system_zfs"
|
||||||
|
|
||||||
- name: "play : system : mail, base : all"
|
- name: "play : system : all"
|
||||||
hosts: "all"
|
hosts: "all"
|
||||||
roles:
|
roles:
|
||||||
- role: "system_mail"
|
- role: "system_mail"
|
||||||
|
@ -31,6 +31,14 @@ valkyrie
|
|||||||
# Special.
|
# Special.
|
||||||
# --------------------------------------------------------------------------------------------------
|
# --------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Hosts running with a UPS.
|
||||||
|
[ups]
|
||||||
|
yggdrasil
|
||||||
|
|
||||||
|
# Hosts running with SMART Disk Monitoring Daemon.
|
||||||
|
[smart]
|
||||||
|
yggdrasil
|
||||||
|
|
||||||
# Hosts running with ZFS.
|
# Hosts running with ZFS.
|
||||||
[zfs]
|
[zfs]
|
||||||
yggdrasil
|
yggdrasil
|
||||||
|
Loading…
Reference in New Issue
Block a user