@@ -19,19 +19,28 @@ nginx_install_from: nginx_repository
19
19
20
20
# Choose where to fetch the NGINX signing key from.
21
21
# Default is the official NGINX signing key host.
22
- nginx_signing_key : http://nginx.org/keys/nginx_signing.key
22
+ # nginx_signing_key: http://nginx.org/keys/nginx_signing.key
23
23
24
24
# Specify source repository for NGINX Open Source.
25
25
# Only works if 'install_from' is set to 'nginx_repository'.
26
26
# Defaults are the official NGINX repositories.
27
27
nginx_repository :
28
28
debian :
29
- - deb https://nginx.org/packages/{{ (nginx_branch == 'mainline') | ternary('mainline/', '') }}{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} nginx
30
- - deb-src https://nginx.org/packages/{{ (nginx_branch == 'mainline') | ternary('mainline/', '') }}{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} nginx
29
+ - >-
30
+ deb https://nginx.org/packages/{{ (nginx_branch == 'mainline')
31
+ | ternary('mainline/', '') }}{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} nginx
32
+ - >-
33
+ deb-src https://nginx.org/packages/{{ (nginx_branch == 'mainline')
34
+ | ternary('mainline/', '') }}{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} nginx
31
35
redhat :
32
- - https://nginx.org/packages/{{ (nginx_branch == 'mainline') | ternary('mainline/', '') }}{{ (ansible_distribution == "RedHat") | ternary('rhel/', 'centos/') }}{{ ansible_distribution_major_version|int }}/$basearch/
36
+ - >-
37
+ https://nginx.org/packages/{{ (nginx_branch == 'mainline')
38
+ | ternary('mainline/', '') }}{{ (ansible_distribution == "RedHat")
39
+ | ternary('rhel/', 'centos/') }}{{ ansible_distribution_major_version|int }}/$basearch/
33
40
suse :
34
- - https://nginx.org/packages/{{ (nginx_branch == 'mainline') | ternary('mainline/', '') }}sles/12
41
+ - >-
42
+ https://nginx.org/packages/{{ (nginx_branch == 'mainline')
43
+ | ternary('mainline/', '') }}sles/12
35
44
36
45
# Specify which branch of NGINX Open Source you want to install.
37
46
# Options are 'mainline' or 'stable'.
0 commit comments