mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Add Docker Compose v2 exec and run modules. (#969)
This commit is contained in:
@@ -718,9 +718,9 @@ class BaseComposeManager(DockerBaseClass):
|
||||
self.cleanup()
|
||||
self.client.fail(msg, **kwargs)
|
||||
|
||||
def get_base_args(self):
|
||||
def get_base_args(self, plain_progress=False):
|
||||
args = ['compose', '--ansi', 'never']
|
||||
if self.use_json_events:
|
||||
if self.use_json_events and not plain_progress:
|
||||
args.extend(['--progress', 'json'])
|
||||
elif self.compose_version >= LooseVersion('2.19.0'):
|
||||
# https://github.com/docker/compose/pull/10690
|
||||
|
||||
Reference in New Issue
Block a user