2019-01-10 11:50:54 +01:00
|
|
|
{{ ansible_managed | comment }}
|
2016-06-27 16:50:49 +02:00
|
|
|
|
2016-04-27 14:04:17 +02:00
|
|
|
{% if ansible_distribution == 'Ubuntu' %}
|
2019-07-07 16:59:00 +02:00
|
|
|
|
2015-05-24 23:15:49 +02:00
|
|
|
{% if nginx_version == "stable" %}
|
2018-05-08 22:41:25 +02:00
|
|
|
deb [arch=amd64] https://nginx.org/packages/ubuntu/ {{ ansible_distribution_release }} nginx
|
2015-05-24 23:15:49 +02:00
|
|
|
{% elif nginx_version == "mainline" %}
|
2018-05-08 22:41:25 +02:00
|
|
|
deb [arch=amd64] https://nginx.org/packages/mainline/ubuntu/ {{ ansible_distribution_release }} nginx
|
2015-05-24 23:15:49 +02:00
|
|
|
{% endif %}
|
2015-06-01 13:49:05 +02:00
|
|
|
|
2019-07-08 17:43:43 +02:00
|
|
|
{% elif ansible_distribution == 'Debian' %}
|
2019-07-08 17:44:21 +02:00
|
|
|
|
2019-07-05 19:54:37 +02:00
|
|
|
{% if nginx_version == "stable" %}
|
2019-09-15 15:03:17 +02:00
|
|
|
deb [arch=amd64] https://nginx.org/packages/debian/ {{ ansible_distribution_release }} nginx
|
2019-07-05 19:54:37 +02:00
|
|
|
{% elif nginx_version == "mainline" %}
|
2019-09-15 15:03:17 +02:00
|
|
|
deb [arch=amd64] https://nginx.org/packages/mainline/debian/ {{ ansible_distribution_release }} nginx
|
2019-07-05 19:54:37 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2015-08-23 12:22:36 +02:00
|
|
|
{% endif %}
|