roles/nginx: Update comment about nginx versions

Version 1.12.x is now stable and 1.13.x is now mainline.

See: https://www.nginx.com/blog/nginx-1-12-1-13-released/
This commit is contained in:
Alan Orth 2017-04-14 16:07:02 +03:00
parent a7a6fa38c9
commit 4ff2ac1737
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -8,10 +8,10 @@ deb http://nginx.org/packages/mainline/ubuntu/ {{ ansible_distribution_release }
{% endif %}
{% endif %}
{% if ansible_distribution == 'Debian' and ansible_distribution_release == 'jessie' %}
{% if ansible_distribution == 'Debian' %}
{% if nginx_version == "stable" %}
deb http://nginx.org/packages/debian/ jessie nginx
deb http://nginx.org/packages/debian/ {{ ansible_distribution_release }} nginx
{% elif nginx_version == "mainline" %}
deb http://nginx.org/packages/mainline/debian/ jessie nginx
deb http://nginx.org/packages/mainline/debian/ {{ ansible_distribution_release }} nginx
{% endif %}
{% endif %}