roles/nginx: Use https for apt repository
This commit is contained in:
parent
55b464e8f7
commit
d15c9851db
@ -2,16 +2,16 @@
|
||||
|
||||
{% if ansible_distribution == 'Ubuntu' %}
|
||||
{% if nginx_version == "stable" %}
|
||||
deb http://nginx.org/packages/ubuntu/ {{ ansible_distribution_release }} nginx
|
||||
deb https://nginx.org/packages/ubuntu/ {{ ansible_distribution_release }} nginx
|
||||
{% elif nginx_version == "mainline" %}
|
||||
deb http://nginx.org/packages/mainline/ubuntu/ {{ ansible_distribution_release }} nginx
|
||||
deb https://nginx.org/packages/mainline/ubuntu/ {{ ansible_distribution_release }} nginx
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if ansible_distribution == 'Debian' %}
|
||||
{% if nginx_version == "stable" %}
|
||||
deb http://nginx.org/packages/debian/ {{ ansible_distribution_release }} nginx
|
||||
deb https://nginx.org/packages/debian/ {{ ansible_distribution_release }} nginx
|
||||
{% elif nginx_version == "mainline" %}
|
||||
deb http://nginx.org/packages/mainline/debian/ {{ ansible_distribution_release }} nginx
|
||||
deb https://nginx.org/packages/mainline/debian/ {{ ansible_distribution_release }} nginx
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user