diodonfrost / ansible-role-puppet-agent

Ansible role for manage puppet-agent on a large number of os
Apache License 2.0
5 stars 9 forks source link

deleted YUM GPG Keys #12

Open vmpr opened 3 months ago

vmpr commented 3 months ago
SUMMARY

puppetlabs deleted gpg keys from their repo, so the task which installs those keys fails now

STEPS TO REPRODUCE
TASK [diodonfrost.puppet_agent : CentOS | Add Puppetlabs rpm key] **************
ok: [XXX] => (item=http://yum.puppetlabs.com/RPM-GPG-KEY-puppet)
ok: [XXX] => (item=http://yum.puppetlabs.com/RPM-GPG-KEY-puppet-20250406)
failed: [XXX] (item=http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs) => {"ansible_loop_var": "item", "changed": false, "item": "http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs", "msg": "failed to fetch key at http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs , error was: HTTP Error 404: Not Found"}
failed: [XXX] (item=http://yum.puppetlabs.com/RPM-GPG-KEY-reductive) => {"ansible_loop_var": "item", "changed": false, "item": "http://yum.puppetlabs.com/RPM-GPG-KEY-reductive", "msg": "failed to fetch key at http://yum.puppetlabs.com/RPM-GPG-KEY-reductive , error was: HTTP Error 404: Not Found"}
EXPECTED RESULTS

it installs all available gpg keys

ENVIRONMENT

CentOS 7.9