summaryrefslogtreecommitdiffstats
path: root/roles/releng/tasks
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2017-01-27 17:52:09 +0000
committerKevin Fenzi <kevin@scrye.com>2017-01-27 17:52:09 +0000
commit0976610394394232ff78d53a88f4f0db0f9cef03 (patch)
tree17435c069a5c468618ea6b3f862b076f3daf535d /roles/releng/tasks
parent46e699a91209d7fb7d627a9497b068cc7389c861 (diff)
downloadansible-0976610394394232ff78d53a88f4f0db0f9cef03.tar.gz
ansible-0976610394394232ff78d53a88f4f0db0f9cef03.tar.xz
ansible-0976610394394232ff78d53a88f4f0db0f9cef03.zip
clean up releng compose role to complete on secondary composer hosts
Diffstat (limited to 'roles/releng/tasks')
-rw-r--r--roles/releng/tasks/main.yml26
1 files changed, 4 insertions, 22 deletions
diff --git a/roles/releng/tasks/main.yml b/roles/releng/tasks/main.yml
index de57fbb81..1879abef8 100644
--- a/roles/releng/tasks/main.yml
+++ b/roles/releng/tasks/main.yml
@@ -64,7 +64,7 @@
- /var/spool/rsyslog
- name: add pkgs
- yum: state=present pkg={{ item }}
+ dnf: state=present pkg={{ item }}
with_items:
- yum-utils
- koji
@@ -81,33 +81,15 @@
- httpd
- hardlink
- pungi
- - pungi-utils
- compose-utils
- when: ansible_distribution_major_version|int < 22
+ - python-scandir
+ - python2-productmd
- name: add pkgs
dnf: state=present pkg={{ item }}
with_items:
- - yum-utils
- - koji
- - strace
- - mock
- - nfs-utils
- - git
- - mash
- - intltool
- - mutt
- - createrepo
- - pykickstart
- - pyliblzma
- - httpd
- - hardlink
- - pungi
- pungi-utils
- - compose-utils
- - python-scandir
- - python2-productmd
- when: ansible_distribution_major_version|int > 21
+ when: "'releng-compose' in group_names"
# add sigul to secondary arch compose boxes
- name: add pkgs