Skip to content

Commit 0f28c6a

Browse files
committed
add sticky
1 parent c1c2fa8 commit 0f28c6a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tasks/configure-selinux.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@
8787
command: restorecon -iRv /opt/app_protect
8888
changed_when: false
8989

90+
- name: "(Install: SELinux: Contexts) Apply permissions to opt/config"
91+
file:
92+
path: /opt/app_protect/config
93+
owner: nginx
94+
group: nginx
95+
mode: u=rwx,go=rx,g+s
96+
state: directory
97+
9098
- name: "(Install: SELinux: Contexts) Apply contexts to log"
9199
command: restorecon -iRv /var/log/app_protect
92100
changed_when: false

0 commit comments

Comments
 (0)