File tree Expand file tree Collapse file tree 2 files changed +0
-33
lines changed Expand file tree Collapse file tree 2 files changed +0
-33
lines changed Original file line number Diff line number Diff line change 114
114
changed_when : false
115
115
when : app_protect_module.changed
116
116
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
-
140
117
- name : " (Install: SELinux) Enforce SELinux"
141
118
selinux :
142
119
state : enforcing
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments