Skip to content

Commit 99b05b2

Browse files
committed
comment custom te
1 parent b9e8481 commit 99b05b2

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

tasks/prerequisites/setup-selinux.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -92,24 +92,24 @@
9292
- name: "(Install: SELinux: Custom) Apply local policy"
9393
command: semodule -i /tmp/local.pp
9494

95-
- name: "(Install: SELinux: Custom) Copy custom policy"
96-
copy:
97-
src: "{{ role_path }}/files/my-appprotect.te"
98-
dest: /tmp/my-appprotect.te
95+
# - name: "(Install: SELinux: Custom) Copy custom policy"
96+
# copy:
97+
# src: "{{ role_path }}/files/my-appprotect.te"
98+
# dest: /tmp/my-appprotect.te
9999

100-
- name: "(Install: SELinux: Custom) Convert custom policy"
101-
command: checkmodule -M -m -o /tmp/my-appprotect.mod /tmp/my-appprotect.te
100+
# - name: "(Install: SELinux: Custom) Convert custom policy"
101+
# command: checkmodule -M -m -o /tmp/my-appprotect.mod /tmp/my-appprotect.te
102102

103-
- name: "(Install: SELinux: Custom) Compile custom policy"
104-
command: semodule_package -o /tmp/my-appprotect.pp -m /tmp/my-appprotect.mod
103+
# - name: "(Install: SELinux: Custom) Compile custom policy"
104+
# command: semodule_package -o /tmp/my-appprotect.pp -m /tmp/my-appprotect.mod
105105

106-
- name: "(Install: SELinux: Custom) Apply custom policy"
107-
command: semodule -i /tmp/my-appprotect.pp
106+
# - name: "(Install: SELinux: Custom) Apply custom policy"
107+
# command: semodule -i /tmp/my-appprotect.pp
108108

109-
- name: "(Install: SELinux: Custom) Remove temporary files"
110-
file:
111-
path: /tmp/my-appprotect.*
112-
state: absent
109+
# - name: "(Install: SELinux: Custom) Remove temporary files"
110+
# file:
111+
# path: /tmp/my-appprotect.*
112+
# state: absent
113113

114114
- name: "(Install: SELinux) Enforce SELinux"
115115
selinux:

0 commit comments

Comments
 (0)