iad2: koji-hub: handle python2/3-tag2distrepo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
569600fd79
commit
2588417c01
1 changed files with 17 additions and 0 deletions
|
@ -16,10 +16,27 @@
|
||||||
- mod_auth_gssapi
|
- mod_auth_gssapi
|
||||||
- git
|
- git
|
||||||
- gnupg2
|
- gnupg2
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
- koji_hub
|
||||||
|
|
||||||
|
- name: install rhel7 koji hub server packages
|
||||||
|
package: name={{ item }} state=present
|
||||||
|
with_items:
|
||||||
- python2-tag2distrepo
|
- python2-tag2distrepo
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
- koji_hub
|
- 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
|
- name: make koji pki directory
|
||||||
file: state=directory path=/etc/pki/koji/ owner=root group=root
|
file: state=directory path=/etc/pki/koji/ owner=root group=root
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue