Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct Errors in Documentation #50507

Merged
merged 4 commits into from Jan 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 1 addition & 6 deletions lib/ansible/modules/cloud/docker/docker_stack.py
Expand Up @@ -35,36 +35,31 @@
- present
- absent
compose:
required: true
default: []
description:
- List of compose definitions. Any element may be a string
referring to the path of the compose file on the target host
or the YAML contents of a compose file nested as dictionary.
prune:
required: false
default: false
description:
- If true will add the C(--prune) option to the C(docker stack deploy) command.
This will have docker remove the services not present in the
current stack definition.
type: bool
with_registry_auth:
required: false
default: false
description:
- If true will add the C(--with-registry-auth) option to the C(docker stack deploy) command.
This will have docker send registry authentication details to Swarm agents.
type: bool
resolve_image:
required: false
choices: ["always", "changed", "never"]
description:
- If set will add the C(--resolve-image) option to the C(docker stack deploy) command.
This will have docker query the registry to resolve image digest and
supported platforms. If not set, docker use "always" by default.
absent_retries:
required: false
default: 0
description:
- If C(>0) and C(state==absent) the module will retry up to
Expand All @@ -73,7 +68,6 @@
If the last try still reports the stack as not completely
removed the module will fail.
absent_retries_interval:
required: false
default: 1
description:
- Interval in seconds between C(absent_retries)
Expand Down Expand Up @@ -119,6 +113,7 @@

- name: deprovision 'stack1'
docker_stack:
name: stack1
state: absent
'''

Expand Down