Do not install packages within these playbooks, they can end up blocking the system

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2018-08-10 15:11:29 +02:00
parent 8d31e7aaf3
commit 3bb10a6a59
3 changed files with 10 additions and 11 deletions

View file

@ -10,6 +10,15 @@ 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)
.. _Ansible: https://github.com/ansible/ansible
.. _fedmsg: http://www.fedmsg.com/en/latest/
.. _Fedora: https://getfedora.org/
@ -17,3 +26,4 @@ the `Fedora`_ `Infrastructure`_ team.
.. _loopabull: https://github.com/maxamillion/loopabull
.. _playbook: http://docs.ansible.com/ansible/playbooks.html

View file

@ -1,9 +1,3 @@
- name: Install required packages
package: name="{{ item }}" state=present
with_items:
- python2-koji
- python2-requests
- name: Install script flagging commits on dist-git upon successful build
copy:
src: files/flag_commit_build.py

View file

@ -1,8 +1,3 @@
- name: Install required packages
package: name="{{ item }}" state=present
with_items:
- python2-requests
- name: Install script flagging PRs on dist-git upon test results being published
copy:
src: files/flag_ci_pr.py