handle version upgrades; new handler handling

This commit is contained in:
AndrewPaglusch
2021-12-17 23:27:23 -06:00
committed by Andrew Paglusch
parent b44af648f7
commit 1694340dfc
4 changed files with 25 additions and 3 deletions

View File

@@ -2,8 +2,12 @@
systemd:
name: nebula
state: restarted
when: inventory_hostname not in groups['nebula_lighthouse']
listen: "restart nebula"
- name: Restart Lighthouse
systemd:
name: lighthouse
state: restarted
when: inventory_hostname in groups['nebula_lighthouse']
listen: "restart nebula"