Fix open source NGINX install script
Both tasks in setup-redhat.yml now correctly install the mainline or stable branch of open source NGINX
This commit is contained in:
parent
d109072a37
commit
0e40a9e00f
@ -14,7 +14,7 @@
|
|||||||
- name: "(CentOS/RedHat) Add Stable NGINX Repository"
|
- name: "(CentOS/RedHat) Add Stable NGINX Repository"
|
||||||
yum_repository:
|
yum_repository:
|
||||||
name: nginx
|
name: nginx
|
||||||
baseurl: https://nginx.org/packages/mainline/{{ item }}/{{ ansible_distribution_major_version|int }}/$basearch/
|
baseurl: https://nginx.org/packages/{{ item }}/{{ ansible_distribution_major_version|int }}/$basearch/
|
||||||
description: NGINX Repository
|
description: NGINX Repository
|
||||||
enabled: yes
|
enabled: yes
|
||||||
gpgcheck: yes
|
gpgcheck: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user