geerlingguy / ansible-role-php-versions

Ansible Role - PHP Versions
https://galaxy.ansible.com/geerlingguy/php-versions/
MIT License
98 stars 73 forks source link

Failed to update apt cache #88

Closed ciekals11 closed 8 months ago

ciekals11 commented 8 months ago

Previous ansible execution (01.03.2024) was successful. Today (04.03.2024) this error shows up:

worker.googlecompute.worker: TASK [ansible-role-php-versions : Add Ondrej Sury's repo (Debian).] ************
worker.googlecompute.worker: fatal: [default]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: E:Repository 'https://packages.cloud.google.com/apt cloud-sdk-bullseye InRelease' changed its 'Origin' value from 'cloud-sdk-bullseye' to 'namespaces/google.com:cloudsdktool/repositories/cloud-sdk-bullseye', E:Repository 'https://packages.cloud.google.com/apt cloud-sdk-bullseye InRelease' changed its 'Label' value from 'cloud-sdk-bullseye' to 'namespaces/google.com:cloudsdktool/repositories/cloud-sdk-bullseye'"}

galaxy file:

roles:
  - { src: "git+https://github.com/geerlingguy/ansible-role-php-versions.git", version: "6.0.1" }
  ...

playbook file:

---
- name: Provision Image - Step 1
  hosts: all
  become: true

  ...

  roles:
    - ansible-role-php-versions

  ...

Do I need to set an additional config or wait for update of this role?

jeversen commented 2 months ago

I have this same issue right now, what was the problem and how did you solve it?

ciekals11 commented 2 months ago

I have this same issue right now, what was the problem and how did you solve it?

Just waited to next day, it somehow fixed itself

jeversen commented 2 months ago

well... I'll wait until tomorrow :) Thanks!