Closed jryburn closed 4 months ago
You need to specify either project_src
or definition
in every community.docker.docker_compose_v2
task. Unfortunately the check for that got lost, so the module doesn't complain about it but instead crashes when it assumes that one of them has been provided...
SUMMARY
Getting an error when running community.docker.docker_compose_v2 with docker compose v2.
ISSUE TYPE
COMPONENT NAME
community.docker.docker_compose_v2
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
I get the error every time I run the playbook.
EXPECTED RESULTS
I would expect that the playbook would work through each project, pull down the latest containers, and rebuild the containers using the new images. This worked fine with community.docker.docker_compose when I was running docker-compose < 2.0 on these servers.
ACTUAL RESULTS