roles/nginx: Add Debian support to nginx sources.list template
Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
9ad8209fd4
commit
b214bdfae8
@ -14,3 +14,11 @@ deb http://nginx.org/packages/ubuntu/ utopic nginx
|
||||
deb http://nginx.org/packages/mainline/ubuntu/ utopic nginx
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if ansible_distribution == 'Debian' and ansible_distribution_release == 'jessie' %}
|
||||
{% if nginx_version == "stable" %}
|
||||
deb http://nginx.org/packages/debian/ jessie nginx
|
||||
{% elif nginx_version == "mainline" %}
|
||||
deb http://nginx.org/packages/mainline/debian/ jessie nginx
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user