test nagios goodness on the reboot script

This commit is contained in:
Seth Vidal 2012-12-12 21:28:12 +00:00
parent 74d25ccdcd
commit 72cf8ee263

View file

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