Templatize SELinux configuration

This commit is contained in:
2021-07-25 04:08:01 +00:00
parent 5137d9839e
commit a9347ec487
4 changed files with 123 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
---
# vars file for ensure_selinux
package_list:
- name: 'python3-libselinux'
state: 'present'
- name: 'python3-libsemanage'
state: 'present'
seboolean_list:
- name: 'antivirus_can_scan_system'
persistent: 'yes'
state: 'yes'
selinux_policy: 'targeted'
selinux_state: 'enforcing'

2
vars/defaults.yml Normal file
View File

@@ -0,0 +1,2 @@
---
# vars file for ensure_selinux