don't ignore errors if needs-reboot.py errors out - bail for that host
This commit is contained in:
parent
46a373f797
commit
d2c7e60198
1 changed files with 0 additions and 1 deletions
|
@ -7,7 +7,6 @@
|
||||||
tasks:
|
tasks:
|
||||||
- name: see if it needs to be rebooted
|
- name: see if it needs to be rebooted
|
||||||
action: command /usr/local/bin/needs-reboot.py
|
action: command /usr/local/bin/needs-reboot.py
|
||||||
ignore_errors: True
|
|
||||||
register: needsreboot
|
register: needsreboot
|
||||||
|
|
||||||
# ADDME tell nagios to be quiet
|
# ADDME tell nagios to be quiet
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue