Add a blob about non-zero return code
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
3bb10a6a59
commit
21a582d885
1 changed files with 7 additions and 3 deletions
10
README.rst
10
README.rst
|
@ -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/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue