loopabull-tasks
loopabull is an event loop driven Ansible playbook execution engine.
In other words, it triggers Ansible playbooks automatically when receiving a
correspond fedmsg message.
This repository stores the ansible playbooks and their related scripts used by
the Fedora Infrastructure team.
Good Practice
- 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
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