Skip to content

Commit 71df279

Browse files
committed
selinux options
1 parent c1ff587 commit 71df279

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tasks/prerequisites/setup-centos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- name: "(Install: CentOS) Disable SELinux"
88
selinux:
99
state: permissive
10+
policy: targeted
1011

1112
- name: "(Install: CentOS) Setup SELinux"
1213
import_tasks: setup-selinux.yml

tasks/prerequisites/setup-selinux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,5 @@
103103

104104
- name: "(Install: SELinux) Enforce SELinux"
105105
selinux:
106-
state: enforcing
106+
state: enforcing
107+
policy: targeted

0 commit comments

Comments
 (0)