Add a blob about non-zero return code

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2018-08-10 15:41:57 +02:00
parent 3bb10a6a59
commit 21a582d885

View file

@ -14,10 +14,14 @@ the `Fedora`_ `Infrastructure`_ team.
Good Practice Good Practice
------------- -------------
Keep in mind that a playbook can be ran by multiple workers simultaneously, * Keep in mind that a playbook can be ran by multiple workers simultaneously,
therefore it is advised to keep all blocking tasks out of this repository (for therefore it is advised to keep all blocking tasks out of this repository (for
example: avoid installing packages) example: avoid installing packages)
* Do not have your script return a non-zero error code. If a playbook fails
(returns a non-zero return code) loopabull will stop the worker. So use the
non-zero return code carefully so as to not kill all the workers and break
loopabull
.. _Ansible: https://github.com/ansible/ansible .. _Ansible: https://github.com/ansible/ansible
.. _fedmsg: http://www.fedmsg.com/en/latest/ .. _fedmsg: http://www.fedmsg.com/en/latest/