From 72cf8ee263c76e642223b6c73a50ff8b7570b088 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Wed, 12 Dec 2012 21:28:12 +0000 Subject: [PATCH] test nagios goodness on the reboot script --- playbooks/host-reboot.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playbooks/host-reboot.yml b/playbooks/host-reboot.yml index f1914f31fe..95a07af2f1 100644 --- a/playbooks/host-reboot.yml +++ b/playbooks/host-reboot.yml @@ -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