Update all occurences of python-policycoreutils

Signed-off-by: mikaellanger <mikael.langer@gmail.com>
This commit is contained in:
Mikael Langer 2023-03-09 17:08:33 +01:00 committed by mikaellanger
parent 315474451d
commit 6394a87206
2 changed files with 2 additions and 2 deletions

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

View file

@ -9,6 +9,6 @@ go_arch_map:
go_arch: "{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}"
_prometheus_binary_install_dir: '/usr/local/bin'
_prometheus_selinux_packages: "{{ ['libselinux-python', 'python-policycoreutils']
_prometheus_selinux_packages: "{{ ['libselinux-python', 'policycoreutils-python']
if ansible_python_version is version('3', '<') else
['python3-libselinux', 'python3-policycoreutils'] }}"