summaryrefslogtreecommitdiffstats
path: root/roles/fedmsg/base
diff options
context:
space:
mode:
authorMiroslav Suchý <msuchy@redhat.com>2015-11-30 18:31:38 +0100
committerMiroslav Suchý <msuchy@redhat.com>2015-11-30 18:32:42 +0100
commit625cac873b6a6b95cc60ec2f93290c0fc9f1e640 (patch)
tree46e1933dec84328ab4d9379a83cddc9a6bf3e83a /roles/fedmsg/base
parent61bd1049f0888be16ceefabe3907f26ac96069d9 (diff)
downloadansible-625cac873b6a6b95cc60ec2f93290c0fc9f1e640.tar.gz
ansible-625cac873b6a6b95cc60ec2f93290c0fc9f1e640.tar.xz
ansible-625cac873b6a6b95cc60ec2f93290c0fc9f1e640.zip
semanage needs policycoreutils-python-utils on F23+
Diffstat (limited to 'roles/fedmsg/base')
-rw-r--r--roles/fedmsg/base/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/fedmsg/base/tasks/main.yml b/roles/fedmsg/base/tasks/main.yml
index eb46eb049..321d3f375 100644
--- a/roles/fedmsg/base/tasks/main.yml
+++ b/roles/fedmsg/base/tasks/main.yml
@@ -39,6 +39,15 @@
- fedmsg/base
when: ansible_distribution_major_version|int > 21
+- name: install needed packages
+ dnf: pkg={{ item }} state=present
+ with_items:
+ - policycoreutils-python-utils
+ tags:
+ - packages
+ - fedmsg/base
+ when: ansible_distribution_major_version|int > 22
+
# We only need this on el6. On el7, the fedmsg package uses systemd-tempfiles
# to generate this effect for us. Note that at the bottom of this role we add
# the nrpe user to the fedmsg group so that it has *write* permissions to a unix