rbicker / ansible-nextcloud

nextcloud ansible role
24 stars 18 forks source link

Rpm keys check - Not a public key: https://getfedora.org/static/fedora.gpg #42

Open Ichigo85 opened 2 years ago

Ichigo85 commented 2 years ago

Hello @rbicker , Lately, I have this issue on ansible and I do not understand how to fix it.

TASK [rbicker.nextcloud : ensure rpm keys are imported] ************************
failed: [shared] (item=https://getfedora.org/static/fedora.gpg) => {"ansible_loop_var": "item", "changed": false, "item": "https://getfedora.org/static/fedora.gpg", "msg": "Not a public key: https://getfedora.org/static/fedora.gpg"}
changed: [shared] => (item=https://rpms.remirepo.net/RPM-GPG-KEY-remi2018) => {"ansible_loop_var": "item", "changed": true, "item": "https://rpms.remirepo.net/RPM-GPG-KEY-remi2018"}

I tried to update my centOS/7 virtual machine but it doesn't work. Do you have any idea to solve it? Thank you.

cfagno commented 2 years ago

Hello @rbicker, I have the same issue on ansible.

failed: [nextcloud] (item=https://getfedora.org/static/fedora.gpg) => changed=false 
  ansible_loop_var: item
  item: https://getfedora.org/static/fedora.gpg
  msg: 'Not a public key: https://getfedora.org/static/fedora.gpg'

I have this issue with rpmkeys :

]$ LC_ALL=C rpmkeys -v --import https://getfedora.org/static/fedora.gpg
error: https://getfedora.org/static/fedora.gpg: key 1 not an armored public key

I found the same issue here : https://github.com/rpm-software-management/libdnf/issues/1320 That seems to be fixed locally but not globally.

Do you have any idea to solve it globally ?

Thank you.