Skip to content
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

ERROR! [DEPRECATED]: community.docker.docker_compose has been removed. #24

Open
Hamid8655 opened this issue Nov 8, 2024 · 2 comments
Open

Comments

@Hamid8655
Copy link

This module uses docker-compose v1, which is End of Life since July 2022. Please migrate to community.docker.docker_compose_v2. This feature was removed from community.docker in version 4.0.0. Please update your playbooks.

installed on ubuntu

@NxrVincent
Copy link

Hi! I found a workaround to use until an update is in place.

You can install an older version of the community.docker collection with this command:

ansible-galaxy collection install community.docker:==3.4.0

This will let you continue with the standard installation process as usual.

Hope this helps!

@Hamid8655
Copy link
Author

ERROR! couldn't resolve module/action 'community.docker.docker_compose_v2'. This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in '/root/openvpn-aws/openvpn-aws/tasks/openvpn_ubuntu.yml': line 37, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

to the docker group, so this task may fail.

  • name: Ensure OpenVPN is running (Ubuntu).
    ^ here

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