Mention new module in docs.

This commit is contained in:
Felix Fontein 2024-01-14 17:00:02 +01:00
parent 4dd671248c
commit d4a5280512
2 changed files with 10 additions and 3 deletions

View File

@ -79,6 +79,7 @@ If you use the Ansible package and do not update collections independently, use
* Docker Compose: * Docker Compose:
- community.docker.docker_compose: manage Docker Compose files (legacy Docker Compose v1) - community.docker.docker_compose: manage Docker Compose files (legacy Docker Compose v1)
- community.docker.docker_compose_v2: manage Docker Compose files (Docker compose CLI plugin) - community.docker.docker_compose_v2: manage Docker Compose files (Docker compose CLI plugin)
- community.docker.docker_compose_v2_pull: pull a Docker compose project
* Docker Swarm: * Docker Swarm:
- community.docker.docker_config: manage configurations - community.docker.docker_config: manage configurations
- community.docker.docker_node: manage Docker Swarm nodes - community.docker.docker_node: manage Docker Swarm nodes

View File

@ -255,9 +255,15 @@ Docker Compose
Docker Compose v2 Docker Compose v2
................. .................
The :ansplugin:`community.docker.docker_compose_v2 module <community.docker.docker_compose_v2#module>` There are two modules for working with Docker compose projects:
allows you to use your existing Docker compose files to orchestrate containers on a single Docker daemon or on Swarm.
This module uses the Docker CLI "compose" plugin (``docker compose``), and thus needs access to the Docker CLI tool. community.docker.docker_compose_v2
The :ansplugin:`community.docker.docker_compose_v2 module <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_pull
The :ansplugin:`community.docker.docker_compose_v2_pull module <community.docker.docker_compose_v2_pull#module>` allows you to pull Docker compose projects.
These modules use the Docker CLI "compose" plugin (``docker compose``), and thus needs access to the Docker CLI tool.
No further requirements next to to the CLI tool and its Docker Compose plugin are needed. No further requirements next to to the CLI tool and its Docker Compose plugin are needed.
Docker Compose v1 Docker Compose v1