From a9b238ee81c7c09d1f7b2877b0e498959fc742d1 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 5 Oct 2021 07:30:41 +0200 Subject: [PATCH] Emphasize that docker_compose requires docker-compose < 2.0.0. (#217) --- plugins/modules/docker_compose.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/docker_compose.py b/plugins/modules/docker_compose.py index 7e12a8a1..8b42e887 100644 --- a/plugins/modules/docker_compose.py +++ b/plugins/modules/docker_compose.py @@ -17,7 +17,7 @@ short_description: Manage multi-container Docker applications with Docker Compos author: "Chris Houseknecht (@chouseknecht)" description: - - Uses Docker Compose to start, shutdown and scale services. + - Uses Docker Compose to start, shutdown and scale services. B(This module requires docker-compose < 2.0.0.) - Configuration can be read from a C(docker-compose.yml) or C(docker-compose.yaml) file or inline using the I(definition) option. - See the examples for more details. - Supports check mode. @@ -176,7 +176,7 @@ extends_documentation_fragment: requirements: - "L(Docker SDK for Python,https://docker-py.readthedocs.io/en/stable/) >= 1.8.0 (use L(docker-py,https://pypi.org/project/docker-py/) for Python 2.6)" - - "docker-compose >= 1.7.0" + - "docker-compose >= 1.7.0, < 2.0.0" - "Docker API >= 1.20" - "PyYAML >= 3.11" '''