test nagios goodness on the reboot script
This commit is contained in:
parent
74d25ccdcd
commit
72cf8ee263
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,9 @@
|
|||
action: command /usr/local/bin/needs-reboot.py
|
||||
register: needsreboot
|
||||
|
||||
# ADDME tell nagios to be quiet
|
||||
# name: tell nagios to shush
|
||||
action: nagios action=downtime host=${inventory_hostname} minutes=30 service=all
|
||||
delegate_to: noc01.phx2.fedoraproject.org
|
||||
|
||||
- name: reboot the host
|
||||
action: command /sbin/reboot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue