Fix setup-redhat.yml task names
This commit is contained in:
parent
2357c80bba
commit
be7788674d
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: "(Install: CentOS/RedHat) Add Mainline NGINX Repository"
|
- name: "(Install: RedHat) Add Mainline NGINX Repository"
|
||||||
yum_repository:
|
yum_repository:
|
||||||
name: nginx
|
name: nginx
|
||||||
baseurl: https://nginx.org/packages/mainline/rhel/{{ ansible_distribution_major_version|int }}/$basearch/
|
baseurl: https://nginx.org/packages/mainline/rhel/{{ ansible_distribution_major_version|int }}/$basearch/
|
||||||
@ -8,7 +8,7 @@
|
|||||||
gpgcheck: yes
|
gpgcheck: yes
|
||||||
when: branch == "mainline" and ansible_distribution == "RedHat"
|
when: branch == "mainline" and ansible_distribution == "RedHat"
|
||||||
|
|
||||||
- name: "(Install: CentOS/RedHat) Add Mainline NGINX Repository"
|
- name: "(Install: CentOS) Add Mainline NGINX Repository"
|
||||||
yum_repository:
|
yum_repository:
|
||||||
name: nginx
|
name: nginx
|
||||||
baseurl: https://nginx.org/packages/mainline/centos/{{ ansible_distribution_major_version|int }}/$basearch/
|
baseurl: https://nginx.org/packages/mainline/centos/{{ ansible_distribution_major_version|int }}/$basearch/
|
||||||
@ -17,7 +17,7 @@
|
|||||||
gpgcheck: yes
|
gpgcheck: yes
|
||||||
when: branch == "mainline" and ansible_distribution == "CentOS"
|
when: branch == "mainline" and ansible_distribution == "CentOS"
|
||||||
|
|
||||||
- name: "(Install: CentOS/RedHat) Add Stable NGINX Repository"
|
- name: "(Install: RedHat) Add Stable NGINX Repository"
|
||||||
yum_repository:
|
yum_repository:
|
||||||
name: nginx
|
name: nginx
|
||||||
baseurl: https://nginx.org/packages/rhel/{{ ansible_distribution_major_version|int }}/$basearch/
|
baseurl: https://nginx.org/packages/rhel/{{ ansible_distribution_major_version|int }}/$basearch/
|
||||||
@ -26,7 +26,7 @@
|
|||||||
gpgcheck: yes
|
gpgcheck: yes
|
||||||
when: branch == "stable" and ansible_distribution == "RedHat"
|
when: branch == "stable" and ansible_distribution == "RedHat"
|
||||||
|
|
||||||
- name: "(Install: CentOS/RedHat) Add Stable NGINX Repository"
|
- name: "(Install: CentOS) Add Stable NGINX Repository"
|
||||||
yum_repository:
|
yum_repository:
|
||||||
name: nginx
|
name: nginx
|
||||||
baseurl: https://nginx.org/packages/centos/{{ ansible_distribution_major_version|int }}/$basearch/
|
baseurl: https://nginx.org/packages/centos/{{ ansible_distribution_major_version|int }}/$basearch/
|
||||||
|
Loading…
Reference in New Issue
Block a user