Skip to content

Debian 12 will not reflect 8.2.2 PHP repo #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
PadawanDeluxe opened this issue Feb 19, 2025 · 2 comments
Open

Debian 12 will not reflect 8.2.2 PHP repo #96

PadawanDeluxe opened this issue Feb 19, 2025 · 2 comments

Comments

@PadawanDeluxe
Copy link

PadawanDeluxe commented Feb 19, 2025

Hey there,
I have installed 7.0.0 version and was not able to run role to ensure php 8.2.2 version. Message raised:

TASK [geerlingguy.php-versions : include_tasks] **********************************************************************************************************************************************************************************************************
ERROR! couldn't resolve module/action 'ansible.builtin.deb822_repository'. This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in '/home/ansible/ansible/roles/geerlingguy.php-versions/tasks/setup-Debian.yml': line 51, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: Add Ondrej's PHP repo.
  ^ here

Right after downgrade to 6.2.0 everything works fine as expected. comparing your closed issues I will see that you implemented this new task just right away.

System target is debian 12.

thanks in advance!

regards

@geerlingguy
Copy link
Owner

Do you have Ansible installed via pip (e.g. pip install ansible) or some other method? The ansible.builtin.deb822_repository module is in Ansible I believe as of 2.12 or so, maybe earlier. So please check your Ansible version and make sure you're running a newer release.

@PadawanDeluxe
Copy link
Author

Hi there,
Ansible is on version 2.14.16. The instance has been installed using pip indeed.

thanks for your quick response on this!

regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants