nginx: package name can be specified (default: nginx-full)

This commit is contained in:
Jérémy Lecour 2018-02-22 00:10:14 +01:00
parent 40939dd6bd
commit 1ac3300ade
4 changed files with 5 additions and 2 deletions

View file

@ -19,6 +19,7 @@ The **patch** part changes incrmentally at each release.
* elasticsearch: use ES_TMPDIR variable for custom tmpdir, (from `/etc/default/elasticsearch` instead of changing `/etc/elesticsearch/jvm.options`). * elasticsearch: use ES_TMPDIR variable for custom tmpdir, (from `/etc/default/elasticsearch` instead of changing `/etc/elesticsearch/jvm.options`).
* elasticsearch: RESTART_ON_UPGRADE is configurable (default: `true`) * elasticsearch: RESTART_ON_UPGRADE is configurable (default: `true`)
* nagios-nrpe: mark plugins as executable * nagios-nrpe: mark plugins as executable
* nginx: package name can be specified (default: `nginx-full`)
### Fixed ### Fixed
* nginx: fix basic auth for default vhost * nginx: fix basic auth for default vhost

View file

@ -3,6 +3,8 @@
nginx_minimal: False nginx_minimal: False
nginx_jessie_backports: False nginx_jessie_backports: False
nginx_package_name: "nginx-full"
nginx_default_ipaddr_whitelist_ips: [] nginx_default_ipaddr_whitelist_ips: []
nginx_additional_ipaddr_whitelist_ips: [] nginx_additional_ipaddr_whitelist_ips: []
nginx_ipaddr_whitelist_present: "{{ nginx_default_ipaddr_whitelist_ips | union(nginx_additional_ipaddr_whitelist_ips) | unique }}" nginx_ipaddr_whitelist_present: "{{ nginx_default_ipaddr_whitelist_ips | union(nginx_additional_ipaddr_whitelist_ips) | unique }}"

View file

@ -3,7 +3,7 @@
- name: Ensure Nginx is installed - name: Ensure Nginx is installed
apt: apt:
name: nginx-full name: "{{ nginx_package_name }}"
state: present state: present
notify: restart nginx notify: restart nginx
tags: tags:

View file

@ -3,7 +3,7 @@
- name: Ensure Nginx is installed - name: Ensure Nginx is installed
apt: apt:
name: nginx-full name: "{{ nginx_package_name }}"
state: present state: present
notify: restart nginx notify: restart nginx
tags: tags: