Skip to content

Commit bcdd0fa

Browse files
committed
cleanup
1 parent 45fd8fc commit bcdd0fa

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tasks/prerequisites/setup-selinux.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,15 @@
112112
command: semodule -i /tmp/nginx-plus-module-appprotect.pp
113113
changed_when: false
114114

115+
- name: "(Install: SELinux: Module) Cleanup NGINX Plus App Protect Module"
116+
file:
117+
path: "/tmp/{{ item }}"
118+
state: absent
119+
with_items:
120+
- nginx-plus-module-appprotect.te
121+
- nginx-plus-module-appprotect.mod
122+
- nginx-plus-module-appprotect.pp
123+
115124
- name: "(Install: SELinux: Module) Create NGINX Plus Metrics Module"
116125
template:
117126
src: nginx-plus-module-f5-metrics.te.j2
@@ -133,6 +142,15 @@
133142
command: semodule -i /tmp/nginx-plus-module-f5-metrics.pp
134143
changed_when: false
135144

145+
- name: "(Install: SELinux: Module) Cleanup NGINX Plus Metrics Module"
146+
file:
147+
path: "/tmp/{{ item }}"
148+
state: absent
149+
with_items:
150+
- nginx-plus-module-f5-metrics.te
151+
- nginx-plus-module-f5-metrics.mod
152+
- nginx-plus-module-f5-metrics.pp
153+
136154
- name: "(Install: SELinux) Enforce SELinux"
137155
selinux:
138156
state: enforcing

0 commit comments

Comments
 (0)