roles/nginx: Update sources.list template for Ubuntu 16.04
Use Ubuntu 15.10 builds for now.
This commit is contained in:
parent
419d0c7e9a
commit
f90eff6b1a
@ -6,12 +6,13 @@ deb http://nginx.org/packages/mainline/ubuntu/ {{ ansible_distribution_release }
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if ansible_distribution_version == '15.04' %}
|
{% if ansible_distribution_version == '16.04' %}
|
||||||
# There are no nginx.org builds for Ubuntu 15.04 (vivid) yet, so use 14.10 (utopic)
|
# There are no nginx.org builds for Ubuntu 16.04 (xenial) yet, so use 15.10 (wily)
|
||||||
{% if nginx_version == "stable" %}
|
{% if nginx_version == "stable" %}
|
||||||
deb http://nginx.org/packages/ubuntu/ utopic nginx
|
deb http://nginx.org/packages/ubuntu/ wily nginx
|
||||||
{% elif nginx_version == "mainline" %}
|
{% elif nginx_version == "mainline" %}
|
||||||
deb http://nginx.org/packages/mainline/ubuntu/ utopic nginx
|
# There are no "mainline" nginx.org builds for Ubuntu 16.04 (xenial) yet, so use 15.10 (wily)
|
||||||
|
deb http://nginx.org/packages/mainline/ubuntu/ wily nginx
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user