mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-04-18 01:58:13 +00:00
use assume_yes to avoid clashing with yaml yes keyword
This commit is contained in:
parent
287f11c991
commit
80f7739a46
@ -160,7 +160,7 @@ options:
|
|||||||
- When O(wait=true), wait at most this amount of seconds.
|
- When O(wait=true), wait at most this amount of seconds.
|
||||||
type: int
|
type: int
|
||||||
version_added: 3.8.0
|
version_added: 3.8.0
|
||||||
yes:
|
assume_yes:
|
||||||
description:
|
description:
|
||||||
- When O(yes=true), pass C(--yes) to assume "yes" as answer to all prompts and run non-interactively.
|
- When O(yes=true), pass C(--yes) to assume "yes" as answer to all prompts and run non-interactively.
|
||||||
- Right now a prompt is asked whenever a non-matching volume should be re-created. O(yes=false)
|
- Right now a prompt is asked whenever a non-matching volume should be re-created. O(yes=false)
|
||||||
@ -474,7 +474,7 @@ class ServicesManager(BaseComposeManager):
|
|||||||
self.scale = parameters['scale'] or {}
|
self.scale = parameters['scale'] or {}
|
||||||
self.wait = parameters['wait']
|
self.wait = parameters['wait']
|
||||||
self.wait_timeout = parameters['wait_timeout']
|
self.wait_timeout = parameters['wait_timeout']
|
||||||
self.yes = parameters['yes']
|
self.yes = parameters['assume_yes']
|
||||||
|
|
||||||
for key, value in self.scale.items():
|
for key, value in self.scale.items():
|
||||||
if not isinstance(key, string_types):
|
if not isinstance(key, string_types):
|
||||||
@ -668,7 +668,7 @@ def main():
|
|||||||
wait=dict(type='bool', default=False),
|
wait=dict(type='bool', default=False),
|
||||||
wait_timeout=dict(type='int'),
|
wait_timeout=dict(type='int'),
|
||||||
ignore_build_events=dict(type='bool', default=True),
|
ignore_build_events=dict(type='bool', default=True),
|
||||||
yes=dict(type='bool', default=False),
|
assume_yes=dict(type='bool', default=False),
|
||||||
)
|
)
|
||||||
argspec_ex = common_compose_argspec_ex()
|
argspec_ex = common_compose_argspec_ex()
|
||||||
argument_spec.update(argspec_ex.pop('argspec'))
|
argument_spec.update(argspec_ex.pop('argspec'))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user