roles/nginx: Use utopic (14.10) nginx builds on 15.04
Upstream hasn't made 15.04 builds yet... Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
9aaad366f5
commit
16a0bb9086
@ -1,5 +1,16 @@
|
|||||||
|
{% if ansible_distribution_version == '14.04' %}
|
||||||
{% if nginx_version == "stable" %}
|
{% if nginx_version == "stable" %}
|
||||||
deb http://nginx.org/packages/ubuntu/ {{ ansible_distribution_release }} nginx
|
deb http://nginx.org/packages/ubuntu/ {{ ansible_distribution_release }} nginx
|
||||||
{% elif nginx_version == "mainline" %}
|
{% elif nginx_version == "mainline" %}
|
||||||
deb http://nginx.org/packages/mainline/ubuntu/ {{ ansible_distribution_release }} nginx
|
deb http://nginx.org/packages/mainline/ubuntu/ {{ ansible_distribution_release }} nginx
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if ansible_distribution_version == '15.04' %}
|
||||||
|
# There are no nginx.org builds for Ubuntu 15.04 (vivid) yet, so use 14.10 (utopic)
|
||||||
|
{% if nginx_version == "stable" %}
|
||||||
|
deb http://nginx.org/packages/ubuntu/ utopic nginx
|
||||||
|
{% elif nginx_version == "mainline" %}
|
||||||
|
deb http://nginx.org/packages/mainline/ubuntu/ utopic nginx
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user