you have to ignore errors if you're rebooting nagios :)
This commit is contained in:
parent
561c1a1457
commit
8353ad96d2
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue