mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-25 05:10:20 +00:00
Merge pull request #63 from mikaellanger/fix-policycoreutils-python
fix: policycoreutils python package name
This commit is contained in:
commit
837e9404d7
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'] }}"
|
||||
|
|
Loading…
Reference in a new issue