base: only install policycoreutils-python-utils on f28+

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-04-05 22:42:43 +00:00
parent 1bb89a3799
commit b6a8c7d5e5

View file

@ -15,7 +15,7 @@
- name: ensure packages required for semanage are installed (dnf)
dnf: name=['policycoreutils-python-utils'] state=present
when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined
when: ansible_distribution_major_version|int > 27 and ansible_cmdline.ostree is not defined
tags:
- selinux