roles/nginx: Use buster builds
nginx.org has buster builds now.
This commit is contained in:
parent
ca293289aa
commit
70e736bdc5
@ -8,19 +8,11 @@ deb [arch=amd64] https://nginx.org/packages/ubuntu/ {{ ansible_distribution_rele
|
|||||||
deb [arch=amd64] https://nginx.org/packages/mainline/ubuntu/ {{ ansible_distribution_release }} nginx
|
deb [arch=amd64] https://nginx.org/packages/mainline/ubuntu/ {{ ansible_distribution_release }} nginx
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% elif ansible_distribution == 'Debian' and ansible_distribution_release == 'buster' %}
|
{% elif ansible_distribution == 'Debian' %}
|
||||||
# there are no tarsnap packages for Debian 10 "buster" yet, so use Debian 9's
|
|
||||||
{% if nginx_version == "stable" %}
|
{% if nginx_version == "stable" %}
|
||||||
deb [arch=amd64] https://nginx.org/packages/debian/ stretch nginx
|
deb [arch=amd64] https://nginx.org/packages/debian/ stretch nginx
|
||||||
{% elif nginx_version == "mainline" %}
|
{% elif nginx_version == "mainline" %}
|
||||||
deb [arch=amd64] https://nginx.org/packages/mainline/debian/ stretch nginx
|
deb [arch=amd64] https://nginx.org/packages/mainline/debian/ stretch nginx
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% elif ansible_distribution == 'Debian' and ansible_distribution_release != 'buster' %}
|
|
||||||
{% if nginx_version == "stable" %}
|
|
||||||
deb [arch=amd64] https://nginx.org/packages/debian/ {{ ansible_distribution_release }} nginx
|
|
||||||
{% elif nginx_version == "mainline" %}
|
|
||||||
deb [arch=amd64] https://nginx.org/packages/mainline/debian/ {{ ansible_distribution_release }} nginx
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user