File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,10 @@ This is a sample playbook file for using the role to install NGINX App Protect o
129
129
# Removes the license (certificate and key) for the NGINX App Protect repositories on the target host(s) when playbook run is complete.
130
130
app_protect_delete_license : true
131
131
132
+ # If you have a RHEL subscription, NGINX App Protect's dependencies will use subscription repos.
133
+ # Otherwise, it will source packages from CentOS' repositories.
134
+ app_protect_use_rhel_subscription_repos : true
135
+
132
136
# For use with the app_protect_configure option to determine if the default security policy will be written to the target host
133
137
# Used when `app_protect_configure: true`.
134
138
app_protect_security_policy_template_enable : true
Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ app_protect_configure: false
26
26
# Removes the license (certificate and key) for the NGINX App Protect repositories on the target host(s) when playbook run is complete.
27
27
app_protect_delete_license : true
28
28
29
+ # If you have a RHEL subscription, NGINX App Protect's dependencies will use subscription repos.
30
+ # Otherwise, it will source packages from CentOS' repositories.
31
+ app_protect_use_rhel_subscription_repos : true
32
+
29
33
# Start/Restart NGINX service when App Protect related changes are complete.
30
34
# Default is true.
31
35
nginx_start : true
Original file line number Diff line number Diff line change 1
1
---
2
2
- name : " (Install: RedHat) Install Required Dependencies - base"
3
- yum :
3
+ package :
4
4
name : ca-certificates,wget
5
5
state : present
6
6
7
- - name : " (Install: RedHat) Install Required Dependencies - epel"
8
- yum :
7
+ - name : " (Install: RedHat) Install Required Dependencies - RHEL Subscription"
8
+ package :
9
+ name : rhel-7-server-optional-rpms,rhel-7-server-rpms
10
+ state : latest
11
+ when : app_protect_use_rhel_subscription_repos
12
+
13
+ - name : " (Install: RedHat) Install Required Dependencies - Centos Epel"
14
+ package :
9
15
name : " https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
10
16
state : latest
17
+ when : not app_protect_use_rhel_subscription_repos
You can’t perform that action at this time.
0 commit comments