* 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>
* 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>
* Vendor parts of the Docker SDK for Python
This is a combination of the latest git version
(db7f8b8bb6)
with some fixes to make it compatible with Python 2.7
and adjusting some imports.
* Polishing.
* Fix bug that prevents contexts to be found when no Docker config file is present.
Ref: https://github.com/docker/docker-py/issues/3190
* Linting.
* Fix typos.
* Adjust more to behavior of Docker CLI.
* Add first iteration of docker_context_info module.
* Improvements.
* Add basic CI.
* Add caveat on contexts[].config result.
* Since docker-compose 2.32.2 present_3 is no longer changed.
This has been caused by https://github.com/docker/compose/pull/12442,
since that PR removes the "building" event.
* Remove deprecated 'version' fields.
* 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>