Skip to content

Commit

Permalink
Fix policycoreutils python package name
Browse files Browse the repository at this point in the history
Signed-off-by: mikaellanger <mikael.langer@gmail.com>
  • Loading branch information
mikaellanger authored Mar 9, 2023
1 parent d389ad2 commit 3154744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/node_exporter/tasks/selinux.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 3154744

Please sign in to comment.