Fix policycoreutils python package name

Signed-off-by: mikaellanger <mikael.langer@gmail.com>
This commit is contained in:
mikaellanger 2023-03-09 12:45:20 +01:00 committed by GitHub
parent d389ad29e2
commit 315474451d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
---
- name: Install selinux python packages [RedHat]
ansible.builtin.package:
name: "{{ ['libselinux-python', 'python-policycoreutils']
name: "{{ ['libselinux-python', 'policycoreutils-python']
if ansible_python_version is version('3', '<') else
['python3-libselinux', 'python3-policycoreutils'] }}"
state: present