add --yes parameter to docker compose up (#1045)

* add yes option for compose up to assume yes and prevent hanging

* fix type

* add default

* add changelog fragment

* Apply doc suggestion

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

* set version_added to 4.5.0

* use `assume_yes` to avoid clashing with yaml `yes` keyword

* add version check

* default self.yes to False

* update description

* Fail on older version

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

* update changelog fragment

* update description

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
londondaintta
2025-03-01 14:03:23 +00:00
committed by GitHub
parent f99a9b618c
commit 187014101b
2 changed files with 19 additions and 0 deletions
@@ -0,0 +1,2 @@
minor_changes:
- docker_compose_v2 - add ``assume_yes`` parameter for ``docker compose up`` (https://github.com/ansible-collections/community.docker/pull/1045).