geerlingguy / internet-pi

Raspberry Pi config for all things Internet.
MIT License
4.15k stars 440 forks source link

Modernize to use Docker Compose plugin and docker_compose_v2 Ansible module #575

Closed geerlingguy closed 5 months ago

geerlingguy commented 5 months ago

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:

ansible-galaxy collection install -r requirements.yml --force