We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16cb66d commit 4abea5dCopy full SHA for 4abea5d
tasks/main.yml
@@ -72,6 +72,15 @@
72
73
when: app_protect_state != "absent"
74
75
+- name: "(Install: CentOS) Setup SELinux"
76
+ debug:
77
+ msg: "Enabling selinux..."
78
+ notify: "(Handler: All OSs) Enable SELinux"
79
+ when:
80
+ - app_protect_selinux
81
+ - ansible_os_family == "RedHat"
82
+ changed_when: false
83
+
84
- name: "Remove NGINX App Protect"
85
block:
86
tasks/prerequisites/setup-centos.yml
@@ -3,10 +3,3 @@
3
package:
4
name: ca-certificates, epel-release
5
state: present
6
-
7
-- name: "(Install: CentOS) Setup SELinux"
8
- debug:
9
- msg: "Enabling selinux..."
10
- notify: "(Handler: All OSs) Enable SELinux"
11
- when: app_protect_selinux
12
- changed_when: false
0 commit comments