geerlingguy / ansible-role-repo-epel

Ansible Role - EPEL Repository for RHEL/CentOS
https://galaxy.ansible.com/geerlingguy/repo-epel/
MIT License
185 stars 149 forks source link

Not a valid key /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 #47

Closed valugi closed 3 years ago

valugi commented 3 years ago

Seems that the default key is not valid anymore, maybe is related with the latest changes. Happens on Centos7 using ansible 2.9.6. `

28-Sep-2020 00:16:30 amazon-ebs: TASK [geerlingguy.repo-epel : Import EPEL GPG key.] ****
28-Sep-2020 00:16:31 amazon-ebs: fatal: [default]: FAILED! => {"changed": false, "msg": "Not a valid key /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7"}

`

geerlingguy commented 3 years ago

I just released a new version of this role yesterday (see https://github.com/geerlingguy/ansible-role-repo-epel/releases/tag/3.0.0) with a fix for this—please see if updating the role to the latest version fixes the problem for you. If not, feel free to reopen the issue. Thanks!