zuul/tests/fixtures/config/ansible-no-log
Tobias Henkel 30cb2b1484
Fix unreachable nodes detection
According to the docs ansible is expected to return 3 if there were
unreachable nodes. Zuul reacts on this and retries the job. However
ansible really returns 4 in this case [1] which actually is the code
for a parse error (which doesn't make sense to retry).

To work around that add a simple callback plugin that gets notified if
there are unreachable nodes and write the information about which
nodes failed to a special file beneath the job-output.txt. The
executor can detect this and react properly then. Further we have the
information about which nodes failed in this file which gets uploaded
to the log server too if it exists.

[1] https://github.com/ansible/ansible/issues/19720

Change-Id: I6d609835dba18b50dcbe883d01c6229ce4e38d91
2018-09-29 13:13:00 +02:00
..
git/org_project Fix unreachable nodes detection 2018-09-29 13:13:00 +02:00
main.yaml Fix information disclosure caused by unreachable nodes 2018-06-12 16:02:03 +00:00