Skip to content
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

Commit e7ffb80

Browse files
authored
Install 'policycoreutils-python' on redhat/centos < 8 and fedora… (#145)
1 parent 05481aa commit e7ffb80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/selinux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
package:
44
name:
55
- "{{ ( (ansible_facts.distribution_major_version | int) < 8) | ternary('libselinux-python','python3-libselinux') }}"
6-
- "{{ ( (ansible_facts.distribution_major_version | int) < 8) | ternary('libselinux-python','python3-policycoreutils') }}"
6+
- "{{ ( (ansible_facts.distribution_major_version | int) < 8) | ternary('policycoreutils-python','python3-policycoreutils') }}"
77
state: present
88
register: _install_selinux_packages
99
until: _install_selinux_packages is success
@@ -17,7 +17,7 @@
1717
package:
1818
name:
1919
- "{{ ( (ansible_facts.distribution_major_version | int) < 29) | ternary('libselinux-python','python3-libselinux') }}"
20-
- "{{ ( (ansible_facts.distribution_major_version | int) < 29) | ternary('libselinux-python','python3-policycoreutils') }}"
20+
- "{{ ( (ansible_facts.distribution_major_version | int) < 29) | ternary('policycoreutils-python','python3-policycoreutils') }}"
2121
state: present
2222
register: _install_selinux_packages
2323
until: _install_selinux_packages is success

0 commit comments

Comments
 (0)