With Docker Compose becoming a plugin in Docker (installed via apt install docker-compose-plugin and used via docker compose instead of the Python package's binary docker-compose), Ansible has also recently added a docker_compose_v2 module that is compatible with the CLI instead of the old API.
I would like to use that, and the easiest way to update Ansible to incorporate the new plugin would be to run:
With Docker Compose becoming a plugin in Docker (installed via
apt install docker-compose-plugin
and used viadocker compose
instead of the Python package's binarydocker-compose
), Ansible has also recently added adocker_compose_v2
module that is compatible with the CLI instead of the old API.I would like to use that, and the easiest way to update Ansible to incorporate the new plugin would be to run: