handle version upgrades; new handler handling
This commit is contained in:
committed by
Andrew Paglusch
parent
b44af648f7
commit
1694340dfc
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user