File tree Expand file tree Collapse file tree 4 files changed +23
-11
lines changed Expand file tree Collapse file tree 4 files changed +23
-11
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ nginx_timeout: 180
36
36
# App Protect Temporary Directory to use (Default: /tmp)
37
37
app_protect_tempdir : /tmp
38
38
39
+ # Choose where to fetch the NGINX signing key from.
40
+ # Default is the official NGINX signing key host.
41
+ # nginx_signing_key: https://cs.nginx.com/static/keys/nginx_signing.key
42
+
39
43
# Choose where to fetch the NGINX App Protect signing key from.
40
44
# Default is the official NGINX App Protect signing key host.
41
45
# app_protect_signing_key: https://cs.nginx.com/static/keys/app-protect.key
Original file line number Diff line number Diff line change 1
1
---
2
- - name : " (Install: APT OSs) Set Default APT NGINX App Protect Signing Key URL"
2
+ - name : " (Install: APT OSs) Set APT NGINX Signing Key URL"
3
3
set_fact :
4
4
key_value : " " # appeasing the linter
5
- default_keysite : " http ://nginx.org/ keys/nginx_signing.key"
5
+ nginx_keysite : " {{ nginx_signing_key | default('https ://cs. nginx.com/static/ keys/nginx_signing.key') }} "
6
6
7
7
- name : " (Install: APT OSs) Set APT NGINX App Protect Signing Key URL"
8
8
set_fact :
9
9
key_value : " " # appeasing the linter
10
- keysite : " {{ app_protect_signing_key | default(default_keysite) }}"
10
+ app_protect_keysite : " {{ app_protect_signing_key | default('https://cs.nginx.com/static/keys/app-protect.key') }}"
11
+
12
+ - name : " (Install: APT OSs) Add APT NGINX Signing Key"
13
+ apt_key :
14
+ url : " {{ nginx_keysite }}"
11
15
12
16
- name : " (Install: APT OSs) Add APT NGINX App Protect Signing Key"
13
17
apt_key :
14
- url : " {{ keysite }}"
18
+ url : " {{ app_protect_keysite }}"
Original file line number Diff line number Diff line change 1
1
---
2
- - name : " (Install: RPM OSs) Set Default RPM NGINX App Protect Signing Key"
2
+ - name : " (Install: RPM OSs) Set Default RPM NGINX Signing Key"
3
3
set_fact :
4
4
key_value : " " # appeasing the linter
5
- default_keysite : " http ://nginx.org/ keys/nginx_signing.key"
5
+ nginx_keysite : " {{ nginx_signing_key | default('https ://cs. nginx.com/static/ keys/nginx_signing.key') }} "
6
6
7
- - name : " (Install: RPM OSs) Set RPM NGINX App Protect Signing Key URL "
7
+ - name : " (Install: RPM OSs) Set Default RPM NGINX App Protect Signing Key"
8
8
set_fact :
9
9
key_value : " " # appeasing the linter
10
- keysite : " {{ app_protect_signing_key | default(default_keysite) }}"
10
+ app_protect_keysite : " {{ app_protect_signing_key | default('https://cs.nginx.com/static/keys/app-protect.key') }}"
11
+
12
+ - name : " (Install: RPM OSs) Add RPM NGINX Signing Key"
13
+ rpm_key :
14
+ key : " {{ nginx_keysite }}"
11
15
12
16
- name : " (Install: RPM OSs) Add RPM NGINX App Protect Signing Key"
13
17
rpm_key :
14
- key : " {{ keysite }}"
18
+ key : " {{ app_protect_keysite }}"
Original file line number Diff line number Diff line change 31
31
sslclientcert : " /etc/ssl/nginx/{{ nginx_license.certificate | basename }}"
32
32
sslclientkey : " /etc/ssl/nginx/{{ nginx_license.key | basename }}"
33
33
enabled : true
34
- gpgcheck : false
34
+ gpgcheck : true
35
35
gpgkey : https://cs.nginx.com/static/keys/app-protect.key
36
36
state : " {{ nginx_license_status | default ('present') }}"
37
37
44
44
sslclientcert : " /etc/ssl/nginx/{{ nginx_license.certificate | basename }}"
45
45
sslclientkey : " /etc/ssl/nginx/{{ nginx_license.key | basename }}"
46
46
enabled : true
47
- gpgcheck : false
47
+ gpgcheck : true
48
48
gpgkey : https://cs.nginx.com/static/keys/app-protect.key
49
49
state : " {{ nginx_license_status | default ('present') }}"
50
50
when : ansible_distribution != "Amazon"
You can’t perform that action at this time.
0 commit comments