selinux: Fix python package name for EL8
This commit is contained in:
parent
098ab32a78
commit
00bdcfb7de
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: install mandatory selinux packages
|
||||
package:
|
||||
name: "{{ 'policycoreutils-python' if ansible_distribution_major_version < 8 else 'python3-policycoreutils' }}"
|
||||
name: "{{ 'policycoreutils-python' if ansible_distribution_major_version|int < 8 else 'policycoreutils-python-utils' }}"
|
||||
state: installed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue