Fix tests for Centos8 EPEL repo paths

Change-Id: Iec2fd7839605075af1c3b3ab952513b6004c19a6
This commit is contained in:
Jonathan Rosser 2020-12-31 18:53:31 +00:00
parent 2cb805baff
commit 036795aa9f
1 changed files with 2 additions and 2 deletions

View File

@ -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