base: fix initial libselinux task to not run on python3 hosts as package: doesn't work there.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
28e87b1a1d
commit
fef0fcbc0e
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
|||
- policycoreutils-python
|
||||
tags:
|
||||
- selinux
|
||||
when: ansible_distribution_major_version|int != 8
|
||||
when: ansible_distribution_major_version|int != 8 and ansible_python_interpreter != "/usr/bin/python3"
|
||||
|
||||
- name: ensure packages required for semanage are installed (dnf)
|
||||
dnf: name=['policycoreutils-python-utils'] state=present
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue