roles/nginx: Fix hardcoded "stretch" release in sources
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.
This commit is contained in:
parent
1ec6d07232
commit
eb7998fd12
@ -11,9 +11,9 @@ deb [arch=amd64] https://nginx.org/packages/mainline/ubuntu/ {{ ansible_distribu
|
||||
{% elif ansible_distribution == 'Debian' %}
|
||||
|
||||
{% if nginx_version == "stable" %}
|
||||
deb [arch=amd64] https://nginx.org/packages/debian/ stretch nginx
|
||||
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/ stretch nginx
|
||||
deb [arch=amd64] https://nginx.org/packages/mainline/debian/ {{ ansible_distribution_release }} nginx
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user