aboutsummaryrefslogtreecommitdiff
path: root/roles/host/tasks/selinux.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/host/tasks/selinux.yml')
-rw-r--r--roles/host/tasks/selinux.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/host/tasks/selinux.yml b/roles/host/tasks/selinux.yml
new file mode 100644
index 0000000..c8cfc37
--- /dev/null
+++ b/roles/host/tasks/selinux.yml
@@ -0,0 +1,8 @@
+---
+- name: Set seboolean
+ ansible.posix.seboolean:
+ name: "{{ item.name }}"
+ state: "{{ item.state }}"
+ persistent: true
+ loop: "{{ host_selinux.booleans }}"
+ when: host_selinux.booleans is defined