File tree 4 files changed +18
-3
lines changed
4 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,10 @@ nginx_type: opensource
184
184
# Default is nginx_repository.
185
185
nginx_install_from : nginx_repository
186
186
187
+ # Choose where to fetch the NGINX signing key from.
188
+ # Default is the official NGINX signing key host.
189
+ nginx_signing_key : https://nginx.org/keys/nginx_signing.key
190
+
187
191
# Specify source repository for NGINX Open Source.
188
192
# Only works if 'install_from' is set to 'nginx_repository'.
189
193
# Defaults are the official NGINX repositories.
@@ -364,7 +368,6 @@ nginx_http_template:
364
368
# Enable creating dynamic templated NGINX stream configuration files.
365
369
nginx_stream_template_enable : false
366
370
nginx_stream_template_listen : 12345
367
-
368
371
` ` `
369
372
370
373
Dependencies
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ nginx_type: opensource
17
17
# Default is nginx_repository.
18
18
nginx_install_from : nginx_repository
19
19
20
+ # Choose where to fetch the NGINX signing key from.
21
+ # Default is the official NGINX signing key host.
22
+ nginx_signing_key : http://nginx.org/keys/nginx_signing.key
23
+
20
24
# Specify source repository for NGINX Open Source.
21
25
# Only works if 'install_from' is set to 'nginx_repository'.
22
26
# Defaults are the official NGINX repositories.
Original file line number Diff line number Diff line change 1
1
---
2
+ - name : " (Install: APT OSs) Set APT NGINX Signing Key URL"
3
+ set_fact :
4
+ keysite : " {{ nginx_signing_key | default('http://nginx.org/keys/nginx_signing.key') }}"
5
+
2
6
- name : " (Install: APT OSs) Add APT NGINX Signing Key"
3
7
apt_key :
4
- url : " {{ 'http://nginx.org/keys/nginx_signing.key' | default('https://nginx.org/keys/nginx_signing.key') }}"
8
+ url : " {{ keysite | default('https://nginx.org/keys/nginx_signing.key') }}"
Original file line number Diff line number Diff line change 1
1
---
2
+ - name : " (Install: RPM OSs) Set RPM NGINX Signing Key URL"
3
+ set_fact :
4
+ keysite : " {{ nginx_signing_key | default('http://nginx.org/keys/nginx_signing.key') }}"
5
+
2
6
- name : " (Install: RPM OSs) Add RPM NGINX Signing Key"
3
7
rpm_key :
4
- key : " {{ 'http://nginx.org/keys/nginx_signing.key' | default('https://nginx.org/keys/nginx_signing.key') }}"
8
+ key : " {{ keysite | default('https://nginx.org/keys/nginx_signing.key') }}"
You can’t perform that action at this time.
0 commit comments