Fix tests for Centos8 EPEL repo paths
Change-Id: Iec2fd7839605075af1c3b3ab952513b6004c19a6
This commit is contained in:
parent
2cb805baff
commit
036795aa9f
|
@ -48,8 +48,8 @@
|
|||
- name: Install the EPEL repository
|
||||
yum_repository:
|
||||
name: epel-nginx
|
||||
baseurl: "{{ (centos_epel_mirror | default ('http://download.fedoraproject.org/pub/epel')) ~ '/' ~ ansible_distribution_major_version ~ '/' ~ ansible_architecture }}"
|
||||
description: 'Extra Packages for Enterprise Linux 7 - $basearch'
|
||||
baseurl: "{{ (centos_epel_mirror | default ('http://download.fedoraproject.org/pub/epel')) ~ '/' ~ ansible_distribution_major_version ~ ((ansible_distribution_major_version is version('8', '<')) | ternary('/', '/Everything/')) ~ ansible_architecture }}"
|
||||
description: 'Extra Packages for Enterprise Linux - $basearch'
|
||||
gpgcheck: yes
|
||||
enabled: yes
|
||||
state: present
|
||||
|
|
Loading…
Reference in New Issue