Determine the compose version via a CLI call and not the docker API. (#1021)

* Determine the compose version via a CLI call and not the docker API.

* Update plugins/module_utils/compose_v2.py

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Florian Apolloner
2024-12-29 14:13:39 +01:00
committed by GitHub
parent bd992583c2
commit 6172a9291c
2 changed files with 30 additions and 10 deletions
@@ -0,0 +1,2 @@
minor_changes:
- "docker_compose_v2* modules - determine compose version with ``docker compose version`` and only then fall back to ``docker info`` (https://github.com/ansible-collections/community.docker/pull/1021)."