parent
d2ba64a916
commit
647e6fbc03
@ -1,13 +0,0 @@ |
||||
{% if nginx_el_install_mainline %} |
||||
[nginx] |
||||
name=nginx repo mainline |
||||
baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/ |
||||
gpgcheck=0 |
||||
enabled=1 |
||||
{% else %} |
||||
[nginx] |
||||
name=nginx repo stable |
||||
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ |
||||
gpgcheck=0 |
||||
enabled=1 |
||||
{% endif %} |
@ -0,0 +1,10 @@ |
||||
[nginx] |
||||
{% if nginx_el_install_mainline %} |
||||
name=nginx repo mainline |
||||
baseurl=http://nginx.org/packages/mainline/{% if ansible_distribution == 'CentOS' %}centos{% else %}rhel{% endif%}/$releasever/$basearch/ |
||||
{% else %} |
||||
name=nginx repo stable |
||||
baseurl=http://nginx.org/packages/{% if ansible_distribution == 'CentOS' %}centos{% else %}rhel{% endif%}/$releasever/$basearch/ |
||||
{% endif %} |
||||
gpgcheck=1 |
||||
enabled=1 |
@ -1,13 +0,0 @@ |
||||
{% if nginx_el_install_mainline %} |
||||
[nginx] |
||||
name=nginx repo mainline |
||||
baseurl=http://nginx.org/packages/mainline/rhel/$releasever/$basearch/ |
||||
gpgcheck=1 |
||||
enabled=1 |
||||
{% else %} |
||||
[nginx] |
||||
name=nginx repo stable |
||||
baseurl=http://nginx.org/packages/rhel/$releasever/$basearch/ |
||||
gpgcheck=1 |
||||
enabled=1 |
||||
{% endif %} |
Reference in new issue