From e9376341f21cf3dde8e6860816166a9421664dfb Mon Sep 17 00:00:00 2001 From: Jonas Geiler Date: Mon, 10 Mar 2025 22:01:21 +0100 Subject: [PATCH] docs(docker_compose_v2): add note about `-y` flag Co-authored-by: Felix Fontein --- plugins/modules/docker_compose_v2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/modules/docker_compose_v2.py b/plugins/modules/docker_compose_v2.py index e66f54f7..369ff02e 100644 --- a/plugins/modules/docker_compose_v2.py +++ b/plugins/modules/docker_compose_v2.py @@ -537,6 +537,7 @@ class ServicesManager(BaseComposeManager): if dry_run: args.append('--dry-run') if self.yes: + # Note that the long form is '--y', and not '--yes' as one would expect. Since this looks like a bug we're using the short form. args.append('-y') args.append('--') for service in self.services: