@@ -6,6 +6,8 @@ Ansible NGINX Role
66
77This role installs NGINX Open Source, NGINX Plus, or NGINX Unit on your target host.
88
9+ ** Note:** This role is still in active development. There may be unidentified issues and the role variables may change as development continues.
10+
911Requirements
1012------------
1113
@@ -139,12 +141,12 @@ install_from: nginx_repository
139141# Defaults are the official NGINX repositories.
140142nginx_repository :
141143 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
144146 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/
146148 suse :
147- - https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/','') }}sles/12
149+ - https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/', '') }}sles/12
148150
149151# Specify which branch of NGINX Open Source you want to install.
150152# Options are 'mainline' or 'stable'.
@@ -186,6 +188,10 @@ license:
186188 certificate : license/nginx-repo.crt
187189 key : license/nginx-repo.key
188190
191+ # Delete NGINX Plus license after installation for security purposes.
192+ # Default is true.
193+ delete_license : true
194+
189195# Enable uploading NGINX configuration files to your system.
190196# Default for uploading files is false.
191197# Default location of files is the files folder within the NGINX Ansible role.
0 commit comments