docker_compose_v2: use --yes when available instead of -y (#1060)

* Use --yes if available.

* Add smoke test.
This commit is contained in:
Felix Fontein
2025-03-21 22:05:10 +01:00
committed by GitHub
parent c13b891bc9
commit 635716c07b
3 changed files with 13 additions and 3 deletions
@@ -0,0 +1,2 @@
bugfixes:
- "docker_compose_v2 - use ``--yes`` instead of ``-y`` from Docker Compose 2.34.0 on (https://github.com/ansible-collections/community.docker/pull/1060)."