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
1 changed files with 2 additions and 2 deletions

View File

@ -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"