Delegate downtime tasks to the proper host

This commit is contained in:
Salt 2022-07-22 09:18:24 -05:00
parent 31251cb414
commit 2cd2d09375

View File

@ -23,11 +23,11 @@
- name: register nagios host downtime - name: register nagios host downtime
nagios: nagios:
service: host service: host
delegate_to: web3.dallas.mgmt.desu.ltd delegate_to: vm-general-1.ashburn.mgmt.desu.ltd
- name: register nagios service downtime - name: register nagios service downtime
nagios: nagios:
service: all service: all
delegate_to: web3.dallas.mgmt.desu.ltd delegate_to: vm-general-1.ashburn.mgmt.desu.ltd
rescue: rescue:
- name: notify of failure to reboot - name: notify of failure to reboot
ansible.builtin.debug: msg="Miscellaneous failure when scheduling downtime" ansible.builtin.debug: msg="Miscellaneous failure when scheduling downtime"