iad2: koji_hub: switch fedora to use python3-fedora-messaging in iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
fbec93831c
commit
7220f9aee8
1 changed files with 12 additions and 1 deletions
|
@ -96,7 +96,7 @@
|
||||||
- selinux
|
- selinux
|
||||||
- koji_hub
|
- koji_hub
|
||||||
|
|
||||||
- name: install fedora-messaging as a dependency for the plugin
|
- name: install fedora-messaging as a dependency for the plugin (rhel7)
|
||||||
package: name={{ item }} state=present
|
package: name={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
- python2-fedora-messaging
|
- python2-fedora-messaging
|
||||||
|
@ -105,6 +105,17 @@
|
||||||
- packages
|
- packages
|
||||||
- koji_hub
|
- koji_hub
|
||||||
- fedora-messaging
|
- fedora-messaging
|
||||||
|
when: ansible_distribution == "RedHat" and ansible_distribution_major_version|int == 7
|
||||||
|
|
||||||
|
- name: install fedora-messaging as a dependency for the plugin (fedora)
|
||||||
|
package: name={{ item }} state=present
|
||||||
|
with_items:
|
||||||
|
- python3-fedora-messaging
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
- koji_hub
|
||||||
|
- fedora-messaging
|
||||||
|
when: ansible_distribution == "Fedora"
|
||||||
|
|
||||||
- name: create the config folder for fedora-messaging
|
- name: create the config folder for fedora-messaging
|
||||||
file: path=/etc/fedora-messaging/ owner=root group=root mode=0755 state=directory
|
file: path=/etc/fedora-messaging/ owner=root group=root mode=0755 state=directory
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue