ansible-playbook-check-diff.cron: impose a 24hour timeout on check-diff jobs
This commit is contained in:
parent
1225279614
commit
62fc6023fe
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ export ANSIBLE_HOST_KEY_CHECKING=False
|
|||
export HOME=/root/
|
||||
#export ANSIBLE_SSH_PIPELINING=False
|
||||
export ANSIBLE_HASH_BEHAVIOUR=merge
|
||||
/srv/web/infra/ansible/scripts/ansible-playbook-check-diff |& grep ok=
|
||||
timeout 24h /srv/web/infra/ansible/scripts/ansible-playbook-check-diff |& grep ok=
|
||||
|
||||
# Send a email with failed or changed from the above check/diff run
|
||||
/srv/web/infra/ansible/scripts/logview -d today -s CHECK_DIFF:CHANGED -s CHECK_DIFF:FAILED | mailx -s "ansible changed/failed actions from check/diff daily run" sysadmin-logs-members@fedoraproject.org
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue