Add reference to gpg key location to EPEL repo config
This is necessary on centos-8 stream Change-Id: I74f02669b013b8580d3469a8ffe214d88cd0f525
This commit is contained in:
parent
5b327a5ca5
commit
3213d427e6
@ -63,11 +63,13 @@
|
||||
- ansible_os_family | lower == 'redhat'
|
||||
- ansible_distribution_major_version is version('8', '>=')
|
||||
|
||||
# NOTE(jrosser) this repo is configured with the path to the first gpg key provided
|
||||
- name: Install the EPEL repository
|
||||
yum_repository:
|
||||
name: epel-networkd
|
||||
baseurl: "{{ systemd_networkd_epel_mirror ~ '/' ~ ansible_distribution_major_version ~ '/Everything/' ~ ansible_architecture }}"
|
||||
description: 'Extra Packages for Enterprise Linux $releasever - $basearch'
|
||||
gpgkey: "file://{{ systemd_networkd_package_repos_keys[0].key }}"
|
||||
gpgcheck: yes
|
||||
enabled: yes
|
||||
state: present
|
||||
|
Loading…
x
Reference in New Issue
Block a user