Skip to content

Commit 9c257ef

Browse files
committed
removed f5 metircs modules
1 parent dc1608d commit 9c257ef

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

tasks/prerequisites/setup-selinux.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -114,29 +114,6 @@
114114
changed_when: false
115115
when: app_protect_module.changed
116116

117-
- name: "(Install: SELinux: Module) Create NGINX Plus Metrics Module"
118-
template:
119-
src: nginx-plus-module-f5-metrics.te.j2
120-
dest: "{{ app_protect_tempdir }}/nginx-plus-module-f5-metrics.te"
121-
register: f5_metrics_module
122-
123-
- name: "(Install: SELinux: Module) Check NGINX Plus Metrics Module"
124-
command: "checkmodule -M -m -o {{ app_protect_tempdir }}/nginx-plus-module-f5-metrics.mod {{ app_protect_tempdir }}/nginx-plus-module-f5-metrics.te"
125-
args:
126-
creates: "{{ app_protect_tempdir }}/nginx-plus-module-f5-metrics.mod"
127-
changed_when: false
128-
129-
- name: "(Install: SELinux: Module) Compile NGINX Plus Metrics Module"
130-
command: "semodule_package -o {{ app_protect_tempdir }}/nginx-plus-module-f5-metrics.pp -m {{ app_protect_tempdir }}/nginx-plus-module-f5-metrics.mod"
131-
args:
132-
creates: "{{ app_protect_tempdir }}/nginx-plus-module-f5-metrics.pp"
133-
changed_when: false
134-
135-
- name: "(Install: SELinux: Module) Import NGINX Plus Metrics Module"
136-
command: "semodule -i {{ app_protect_tempdir }}/nginx-plus-module-f5-metrics.pp"
137-
changed_when: false
138-
when: f5_metrics_module.changed
139-
140117
- name: "(Install: SELinux) Enforce SELinux"
141118
selinux:
142119
state: enforcing

templates/nginx-plus-module-f5-metrics.te.j2

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)