parent
91bd842e9e
commit
a563c8ee9f
14
README.md
14
README.md
@ -6,6 +6,8 @@ Ansible NGINX Role
|
|||||||
|
|
||||||
This role installs NGINX Open Source, NGINX Plus, or NGINX Unit on your target host.
|
This role installs NGINX Open Source, NGINX Plus, or NGINX Unit on your target host.
|
||||||
|
|
||||||
|
**Note:** This role is still in active development. There may be unidentified issues and the role variables may change as development continues.
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
------------
|
------------
|
||||||
|
|
||||||
@ -139,12 +141,12 @@ install_from: nginx_repository
|
|||||||
# Defaults are the official NGINX repositories.
|
# Defaults are the official NGINX repositories.
|
||||||
nginx_repository:
|
nginx_repository:
|
||||||
debian:
|
debian:
|
||||||
- deb https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/','') }}{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} nginx
|
- deb https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/', '') }}{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} nginx
|
||||||
- deb-src https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/','') }}{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} nginx
|
- deb-src https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/', '') }}{{ ansible_distribution|lower }}/ {{ ansible_distribution_release }} nginx
|
||||||
redhat:
|
redhat:
|
||||||
- https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/','') }}{{ (ansible_distribution == "RedHat") | ternary('rhel/', 'centos/') }}{{ ansible_distribution_major_version|int }}/$basearch/
|
- https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/', '') }}{{ (ansible_distribution == "RedHat") | ternary('rhel/', 'centos/') }}{{ ansible_distribution_major_version|int }}/$basearch/
|
||||||
suse:
|
suse:
|
||||||
- https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/','') }}sles/12
|
- https://nginx.org/packages/{{ (branch == 'mainline') | ternary('mainline/', '') }}sles/12
|
||||||
|
|
||||||
# Specify which branch of NGINX Open Source you want to install.
|
# Specify which branch of NGINX Open Source you want to install.
|
||||||
# Options are 'mainline' or 'stable'.
|
# Options are 'mainline' or 'stable'.
|
||||||
@ -186,6 +188,10 @@ license:
|
|||||||
certificate: license/nginx-repo.crt
|
certificate: license/nginx-repo.crt
|
||||||
key: license/nginx-repo.key
|
key: license/nginx-repo.key
|
||||||
|
|
||||||
|
# Delete NGINX Plus license after installation for security purposes.
|
||||||
|
# Default is true.
|
||||||
|
delete_license: true
|
||||||
|
|
||||||
# Enable uploading NGINX configuration files to your system.
|
# Enable uploading NGINX configuration files to your system.
|
||||||
# Default for uploading files is false.
|
# Default for uploading files is false.
|
||||||
# Default location of files is the files folder within the NGINX Ansible role.
|
# Default location of files is the files folder within the NGINX Ansible role.
|
||||||
|
Loading…
Reference in New Issue
Block a user