fix(docker_compose_v2): use correct flag for assume_yes (#1054)

* fix: use correct flag for `assume_yes`

The correct flag is `--y`, not `--yes`.

* refactor(docker_compose_v2): use `-y` instead of `--y` to ensure future compatibility

Maybe they'll change it back to `--yes` sometime, so I'll use the short form that most likely won't change.

* docs(docker_compose_v2): add note about `-y` flag

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

* chore: add changelog fragment

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Jonas Geiler
2025-03-10 22:18:45 +01:00
committed by GitHub
parent fdb97428a3
commit a3f9c21228
2 changed files with 5 additions and 2 deletions
@@ -0,0 +1,2 @@
bugfixes:
- docker_compose_v2 - rename flag for ``assume_yes`` parameter for ``docker compose up`` to ``-y`` (https://github.com/ansible-collections/community.docker/pull/1054).