File tree Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,13 @@ This is a sample playbook file for using the role to install NGINX App Protect o
100
100
# Default is present.
101
101
app_protect_state : present
102
102
103
+ # OPTIONAL: Installs a specific version of NGINX App Protect
104
+ app_protect_version : 21
105
+
106
+ # Enable enforcing selinux (you may need to open ports on your own)
107
+ # WARNING: If this is set to false and you are installing NGINX Protect on a system with SELinux enforced, NGINX App Protect may fail to load.
108
+ app_protect_selinux : false
109
+
103
110
# The installation of NGINX App Protect includes a base signature set, which may be out of date.
104
111
# This option installs the latest NGINX App Protect signatures.
105
112
app_protect_install_signatures : true
Original file line number Diff line number Diff line change 9
9
# Default is present.
10
10
app_protect_state : present
11
11
12
- # # OPTIONAL - Installs a specific version of NGINX App Protect
12
+ # # OPTIONAL: Installs a specific version of NGINX App Protect
13
13
# app_protect_version: 20
14
14
15
+ # Enable enforcing selinux (you may need to open ports on your own)
16
+ app_protect_selinux : false
17
+
15
18
# The installation of NGINX App Protect includes a base signature set, which may be out of date.
16
19
# This option installs the latest NGINX App Protect signatures.
17
20
app_protect_install_signatures : true
@@ -84,6 +87,3 @@ log_policy_syslog_target: 127.0.0.1:514
84
87
85
88
nginx_demo_workload_protocol : http://
86
89
nginx_demo_workload_host : 10.1.1.1:8080
87
-
88
- # Enable enforcing selinux (you may need to open ports on your own)
89
- nginx_selinux : false
Original file line number Diff line number Diff line change 6
6
7
7
- name : " (Install: CentOS) Setup SELinux"
8
8
import_tasks : setup-selinux.yml
9
- when : nginx_selinux
9
+ when : app_protect_selinux
Original file line number Diff line number Diff line change 8
8
selinux :
9
9
state : permissive
10
10
policy : targeted
11
- when : nginx_selinux
11
+ when : app_protect_selinux
12
12
13
13
- name : " (Install: SELinux: Booleans) Allow HTTP network connection"
14
14
seboolean :
You can’t perform that action at this time.
0 commit comments