iad2: koji-hub: handle python2/3-tag2distrepo

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-05-25 12:30:08 -07:00
parent 569600fd79
commit 2588417c01

View file

@ -16,10 +16,27 @@
- mod_auth_gssapi
- git
- gnupg2
tags:
- packages
- koji_hub
- name: install rhel7 koji hub server packages
package: name={{ item }} state=present
with_items:
- python2-tag2distrepo
tags:
- packages
- koji_hub
when: ansible_distribution == "RedHat" and ansible_distribution_major_version|int == 7
- name: install fedora koji hub server packages
package: name={{ item }} state=present
with_items:
- python3-tag2distrepo
tags:
- packages
- koji_hub
when: ansible_distribution == "Fedora"
- name: make koji pki directory
file: state=directory path=/etc/pki/koji/ owner=root group=root