community.docker/changelogs/fragments/832-docker_compose_v2-definition.yml
Felix Fontein 9e8c367c47
docker_compose_v2: allow to specify inline compose definitions (#832)
* Allow to specify inline compose definitions.

* Remove comma that trips Python 2.7.

* Add tests.

* Add PyYAML as EE dependency.

* Be more explicit on PyYAML.
2024-04-09 17:41:12 +02:00

9 lines
740 B
YAML

minor_changes:
- "docker_compose_v2* modules - allow to provide an inline definition of the compose content
instead of having to provide a ``project_src`` directory with the compose file written into it
(https://github.com/ansible-collections/community.docker/issues/829, https://github.com/ansible-collections/community.docker/pull/832)."
- "The EE requirements now include PyYAML, since the ``docker_compose_v2*`` modules depend on it
when the ``definition`` option is used. This should not have a noticable effect on generated EEs
since ansible-core itself depends on PyYAML as well, and ansible-builder explicitly ignores this dependency
(https://github.com/ansible-collections/community.docker/pull/832)."