selinux: lint fixes
This commit is contained in:
parent
55d7d954b3
commit
51aa0a709e
1 changed files with 13 additions and 4 deletions
|
@ -1,5 +1,14 @@
|
|||
---
|
||||
- block:
|
||||
- name: install mandatory selinux packages
|
||||
package:
|
||||
name: "{{ 'policycoreutils-python' if ansible_distribution_major_version|int < 8 else 'policycoreutils-python-utils' }}"
|
||||
name: policycoreutils-python
|
||||
state: installed
|
||||
when: ansible_distribution_major_version|int < 8
|
||||
|
||||
- block:
|
||||
- name: install mandatory selinux packages
|
||||
package:
|
||||
name: policycoreutils-python-utils
|
||||
state: installed
|
||||
when: ansible_distribution_major_version|int >= 8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue