From d2c7e60198029c8af883b2a0181ddc3474c59398 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Wed, 12 Dec 2012 04:45:20 +0000 Subject: [PATCH] don't ignore errors if needs-reboot.py errors out - bail for that host --- playbooks/host-reboot.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/playbooks/host-reboot.yml b/playbooks/host-reboot.yml index 60aff0cbe2..f1914f31fe 100644 --- a/playbooks/host-reboot.yml +++ b/playbooks/host-reboot.yml @@ -7,7 +7,6 @@ tasks: - name: see if it needs to be rebooted action: command /usr/local/bin/needs-reboot.py - ignore_errors: True register: needsreboot # ADDME tell nagios to be quiet