-
Notifications
You must be signed in to change notification settings - Fork 52
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
Failed to install docker-compose #79
Comments
This appears to be an issue with the The above page will then lead you here, so try the steps here: geerlingguy/ansible-role-pip#57 |
It is a different issue, there is the issue regarding the |
Looks like the long term fix would be to use |
You can actually just remove the |
I switched the ansible compose module to the docker_compose_v2 module a while ago, so I'll look into if the pip package is still needed or not, thanks for digging into it! |
pls fix |
The Please run |
OS: Ubuntu 24.04 LTS
Ansible: core 2.17.1
Docker: 26.1.4
Just a fresh Ubuntu 24.04 Server installation, just ran:
sudo apt install git make python3-pip -y
sudo pip3 install ansible
sudo mv /usr/lib/python3.12/EXTERNALLY-MANAGED /usr/lib/python3.12/EXTERNALLY-MANAGED.old
Then cloned the repo, configured and
make apply
It fails on:
TASK [galaxy-roles/geerlingguy.pip : Ensure pip_install_packages are installed.]
It is able to install
docker
but fails to installdocker-compose
Looks like there is a issue with the
PyYAML
version used [5.4.1] and the installation ofdocker-compose
.I managed to get the
docker-compose
installed by manually installing an older version ofPyYAML
. Then removed thedocker-compose
installation from the playbook and the run finally succeeded.The text was updated successfully, but these errors were encountered: