Alan Orth
eb7998fd12
This was causing the stretch version to get installed on buster, w- hich led to the cipher suite and ssl protocol support to behave st- rangeley.
20 lines
697 B
Django/Jinja
20 lines
697 B
Django/Jinja
{{ ansible_managed | comment }}
|
|
|
|
{% if ansible_distribution == 'Ubuntu' %}
|
|
|
|
{% if nginx_version == "stable" %}
|
|
deb [arch=amd64] https://nginx.org/packages/ubuntu/ {{ ansible_distribution_release }} nginx
|
|
{% elif nginx_version == "mainline" %}
|
|
deb [arch=amd64] https://nginx.org/packages/mainline/ubuntu/ {{ ansible_distribution_release }} nginx
|
|
{% endif %}
|
|
|
|
{% elif ansible_distribution == 'Debian' %}
|
|
|
|
{% 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 %}
|