willhallonline / docker-ansible

Ansible inside Docker containers: Alpine, Ubuntu, Rocky & Debian with Ansible 2.16, 2.15, 2.14, 2.13, 2.12, 2.11, 2.10 and 2.9 + Mitogen
https://www.willhallonline.co.uk/project/docker/docker-ansible/
MIT License
376 stars 135 forks source link

ansible-galaxy requires resolvelib<0.9.0,>=0.5.3 #72

Closed jaydrogers closed 6 months ago

jaydrogers commented 9 months ago

Background

I absolutely love the effort you put into this project, thank you! I am using this project on another open source project and I'm running into issues when using the latest alpine version.

Affected images

Special Notes

[!NOTE] This does not happen on willhallonline/ansible:ubuntu

Steps to reproduce

Run a container:

docker run --rm --pull always -it willhallonline/ansible:alpine sh

Once in the container, try to run an Ansible Galaxy install:

ansible-galaxy collection install geerlingguy.mac

Expected Results

Actual Results

image

Text version of error

/ansible # ansible-galaxy collection install geerlingguy.mac
Starting galaxy collection install process
Process install dependency map
ERROR! ansible-galaxy requires resolvelib<0.9.0,>=0.5.3

Possibly related issues

jaydrogers commented 9 months ago

Just adding an update, this confusion could all be from the "latest" and "alpine" tags being tagged on the 2.13 release.

2.13 went End Of Life this November.

https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html Screenshot 2023-12-20 at 08 37 07@2x

Workaround

I started using willhallonline/ansible:2.15-alpine-3.18 and this error message went away. 👍

willhallonline commented 7 months ago

That is great. I need to try to upgrade the latest/alpine images, but haven't had much time recently. I will see if I can schedule in the next week.

jaydrogers commented 7 months ago

Sweet, thanks! Let me know if you ever need any help. I can submit PRs to help reduce your workload.

I maintain these Docker images (https://serversideup.net/open-source/docker-php/), but I specifically use your images for deploying our open source project called "Spin": https://serversideup.net/open-source/spin/docs/getting-started/how-spin-works

Thanks for all your hard work!

willhallonline commented 6 months ago

@jaydrogers thanks for the offer. Happy to take on PRs, I have tried to make it as easy as possible to manage as I don't have a lot of time to make significant changes.

Closing issue as believe that this is resolved with version updates.