Skip to content

Commit

Permalink
Update all occurences of python-policycoreutils
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikael Langer committed Mar 9, 2023
1 parent 3154744 commit d22df30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/alertmanager/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
2 changes: 1 addition & 1 deletion roles/prometheus/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'] }}"

0 comments on commit d22df30

Please sign in to comment.