2016-06-27 16:50:49 +02:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
|
2016-04-27 14:04:17 +02:00
|
|
|
{% if ansible_distribution == 'Ubuntu' %}
|
2015-05-24 23:15:49 +02:00
|
|
|
{% if nginx_version == "stable" %}
|
|
|
|
deb http://nginx.org/packages/ubuntu/ {{ ansible_distribution_release }} nginx
|
|
|
|
{% elif nginx_version == "mainline" %}
|
|
|
|
deb http://nginx.org/packages/mainline/ubuntu/ {{ ansible_distribution_release }} nginx
|
|
|
|
{% endif %}
|
2015-06-01 13:49:05 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2017-04-14 15:07:02 +02:00
|
|
|
{% if ansible_distribution == 'Debian' %}
|
2015-08-23 12:22:36 +02:00
|
|
|
{% if nginx_version == "stable" %}
|
2017-04-14 15:07:02 +02:00
|
|
|
deb http://nginx.org/packages/debian/ {{ ansible_distribution_release }} nginx
|
2015-08-23 12:22:36 +02:00
|
|
|
{% elif nginx_version == "mainline" %}
|
2017-04-14 15:07:02 +02:00
|
|
|
deb http://nginx.org/packages/mainline/debian/ {{ ansible_distribution_release }} nginx
|
2015-08-23 12:22:36 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|