|
92 | 92 | - name: "(Install: SELinux: Custom) Apply local policy"
|
93 | 93 | command: semodule -i /tmp/local.pp
|
94 | 94 |
|
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 |
99 | 99 |
|
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 |
102 | 102 |
|
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 |
105 | 105 |
|
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 |
108 | 108 |
|
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 |
113 | 113 |
|
114 | 114 | - name: "(Install: SELinux) Enforce SELinux"
|
115 | 115 | selinux:
|
|
0 commit comments