From f9925d770e2fe39f14352821985f918d0d7aadd6 Mon Sep 17 00:00:00 2001 From: Maciej Bogusz Date: Wed, 9 Jul 2025 19:41:06 +0200 Subject: [PATCH] docker_compose_v2_build: reference in other docs --- README.md | 1 + docs/docsite/rst/scenario_guide.rst | 3 +++ plugins/modules/docker_compose_v2.py | 3 +++ 3 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 622a2f45..d65c254e 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,7 @@ If you use the Ansible package and do not update collections independently, use - community.docker.docker_volume_info: retrieve information on Docker volumes * Docker Compose: - community.docker.docker_compose_v2: manage Docker Compose files (Docker compose CLI plugin) + - community.docker.docker_compose_v2_build: build images for a Docker compose project - community.docker.docker_compose_v2_exec: run command in a container of a Compose service - community.docker.docker_compose_v2_pull: pull a Docker compose project - community.docker.docker_compose_v2_run: run command in a new container of a Compose service diff --git a/docs/docsite/rst/scenario_guide.rst b/docs/docsite/rst/scenario_guide.rst index e17bae56..152996b8 100644 --- a/docs/docsite/rst/scenario_guide.rst +++ b/docs/docsite/rst/scenario_guide.rst @@ -263,6 +263,9 @@ There are several modules for working with Docker Compose projects: community.docker.docker_compose_v2 The :ansplugin:`community.docker.docker_compose_v2 module ` allows you to use your existing Docker Compose files to orchestrate containers on a single Docker daemon or on Swarm. + community.docker.docker_compose_v2_build + The :ansplugin:`community.docker.docker_compose_v2_pull module ` allows you to build images for Docker compose projects. + community.docker.docker_compose_v2_exec The :ansplugin:`community.docker.docker_compose_v2_exec module ` allows you to run a command in a container of Docker Compose projects. diff --git a/plugins/modules/docker_compose_v2.py b/plugins/modules/docker_compose_v2.py index cab98b29..224823a3 100644 --- a/plugins/modules/docker_compose_v2.py +++ b/plugins/modules/docker_compose_v2.py @@ -174,7 +174,10 @@ author: - Felix Fontein (@felixfontein) seealso: + - module: community.docker.docker_compose_v2_build + - module: community.docker.docker_compose_v2_exec - module: community.docker.docker_compose_v2_pull + - module: community.docker.docker_compose_v2_run """ EXAMPLES = r"""