you have to ignore errors if you're rebooting nagios :)

This commit is contained in:
Seth Vidal 2013-05-07 21:50:45 +00:00
parent 561c1a1457
commit 8353ad96d2

View file

@ -42,6 +42,7 @@
- name: tell nagios to shush
action: nagios action=downtime minutes=60 service=host host=$inventory_hostname
delegate_to: noc01.phx2.fedoraproject.org
ignore_errors: true
- name: echo-y
action: command /sbin/halt -p
@ -59,6 +60,7 @@
- name: tell nagios to shush
action: nagios action=downtime minutes=60 service=host host=$inventory_hostname
delegate_to: noc01.phx2.fedoraproject.org
ignore_errors: true
- name: halt -r the $target
action: command /sbin/reboot