Delegate downtime tasks to the proper host
This commit is contained in:
parent
31251cb414
commit
2cd2d09375
@ -23,11 +23,11 @@
|
||||
- name: register nagios host downtime
|
||||
nagios:
|
||||
service: host
|
||||
delegate_to: web3.dallas.mgmt.desu.ltd
|
||||
delegate_to: vm-general-1.ashburn.mgmt.desu.ltd
|
||||
- name: register nagios service downtime
|
||||
nagios:
|
||||
service: all
|
||||
delegate_to: web3.dallas.mgmt.desu.ltd
|
||||
delegate_to: vm-general-1.ashburn.mgmt.desu.ltd
|
||||
rescue:
|
||||
- name: notify of failure to reboot
|
||||
ansible.builtin.debug: msg="Miscellaneous failure when scheduling downtime"
|
||||
|
Loading…
Reference in New Issue
Block a user