rbicker / ansible-nextcloud

nextcloud ansible role
24 stars 18 forks source link

Failed to install epel-release on CentOS 8.2 #31

Closed holmboe closed 4 years ago

holmboe commented 4 years ago

I get this when using the role on CentOS Linux release 8.2.2004:

TASK [rbicker.nextcloud : ensure epel-release and Remi yum repos are installed] *****************************************************************************************************$
fatal: [nextcloud-01]: FAILED! => {"changed": false, "msg": "Failed to validate GPG signature for epel-release-8-8.el8.noarch"}
holmboe commented 4 years ago

Workaround:

sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo yum install -y https://rpms.remirepo.net/enterprise/remi-release-8.rpm
flo-rian commented 4 years ago

I had a similar problem. For me the remi rep did not work. I've solved it by using a pre_task in my playbook:

  pre_tasks:
    - rpm_key:
        state: present
        key: https://rpms.remirepo.net/RPM-GPG-KEY-remi2018