@@ -6,6 +6,8 @@ Ansible NGINX Role
6
6
7
7
This role installs NGINX Open Source, NGINX Plus, or NGINX Unit on your target host.
8
8
9
+ ** Note:** This role is still in active development. There may be unidentified issues and the role variables may change as development continues.
10
+
9
11
Requirements
10
12
------------
11
13
@@ -139,12 +141,12 @@ install_from: nginx_repository
139
141
# Defaults are the official NGINX repositories.
140
142
nginx_repository :
141
143
debian :
142
- - deb https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/','') }}{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} nginx
143
- - deb-src https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/','') }}{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} nginx
144
+ - deb https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/', '') }}{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} nginx
145
+ - deb-src https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/', '') }}{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} nginx
144
146
redhat :
145
- - https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/','') }}{{ (ansible_distribution == "RedHat") | ternary('rhel/', 'centos/') }}{{ ansible_distribution_major_version|int }}/$basearch/
147
+ - https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/', '') }}{{ (ansible_distribution == "RedHat") | ternary('rhel/', 'centos/') }}{{ ansible_distribution_major_version|int }}/$basearch/
146
148
suse :
147
- - https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/','') }}sles/12
149
+ - https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/', '') }}sles/12
148
150
149
151
# Specify which branch of NGINX Open Source you want to install.
150
152
# Options are 'mainline' or 'stable'.
@@ -186,6 +188,10 @@ license:
186
188
certificate : license/nginx-repo.crt
187
189
key : license/nginx-repo.key
188
190
191
+ # Delete NGINX Plus license after installation for security purposes.
192
+ # Default is true.
193
+ delete_license : true
194
+
189
195
# Enable uploading NGINX configuration files to your system.
190
196
# Default for uploading files is false.
191
197
# Default location of files is the files folder within the NGINX Ansible role.
0 commit comments