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:
Kevin Fenzi 2020-05-25 12:49:25 -07:00
parent fbec93831c
commit 7220f9aee8

View file

@ -96,7 +96,7 @@
- selinux
- 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
with_items:
- python2-fedora-messaging
@ -105,6 +105,17 @@
- packages
- koji_hub
- 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
file: path=/etc/fedora-messaging/ owner=root group=root mode=0755 state=directory