mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-17 12:28:55 +00:00
More true/false normalization. (#597)
This commit is contained in:
parent
c504c87404
commit
d0a3e587a5
@ -131,7 +131,7 @@ client_cert: /somewhere/cert.pem
|
|||||||
# Example using constructed features to create groups and set ansible_host
|
# Example using constructed features to create groups and set ansible_host
|
||||||
plugin: community.docker.docker_swarm
|
plugin: community.docker.docker_swarm
|
||||||
docker_host: tcp://my-docker-host:2375
|
docker_host: tcp://my-docker-host:2375
|
||||||
strict: False
|
strict: false
|
||||||
keyed_groups:
|
keyed_groups:
|
||||||
# add for example x86_64 hosts to an arch_x86_64 group
|
# add for example x86_64 hosts to an arch_x86_64 group
|
||||||
- prefix: arch
|
- prefix: arch
|
||||||
|
|||||||
@ -65,7 +65,7 @@ options:
|
|||||||
force_remove:
|
force_remove:
|
||||||
description:
|
description:
|
||||||
- Remove even if the plugin is enabled.
|
- Remove even if the plugin is enabled.
|
||||||
default: False
|
default: false
|
||||||
type: bool
|
type: bool
|
||||||
|
|
||||||
enable_timeout:
|
enable_timeout:
|
||||||
|
|||||||
@ -774,7 +774,7 @@ rebuilt:
|
|||||||
description:
|
description:
|
||||||
- True if the service has been recreated (removed and created)
|
- True if the service has been recreated (removed and created)
|
||||||
type: bool
|
type: bool
|
||||||
sample: True
|
sample: true
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|||||||
@ -66,7 +66,7 @@
|
|||||||
docker_network:
|
docker_network:
|
||||||
name: "{{ nname_1 }}"
|
name: "{{ nname_1 }}"
|
||||||
driver_options:
|
driver_options:
|
||||||
com.docker.network.bridge.enable_icc: False
|
com.docker.network.bridge.enable_icc: false
|
||||||
register: driver_options_3
|
register: driver_options_3
|
||||||
|
|
||||||
- name: driver_options (change)
|
- name: driver_options (change)
|
||||||
@ -80,7 +80,7 @@
|
|||||||
docker_network:
|
docker_network:
|
||||||
name: "{{ nname_1 }}"
|
name: "{{ nname_1 }}"
|
||||||
driver_options:
|
driver_options:
|
||||||
com.docker.network.bridge.enable_icc: True
|
com.docker.network.bridge.enable_icc: true
|
||||||
register: driver_options_5
|
register: driver_options_5
|
||||||
|
|
||||||
- name: cleanup
|
- name: cleanup
|
||||||
|
|||||||
@ -146,7 +146,7 @@
|
|||||||
resolve_image: false
|
resolve_image: false
|
||||||
command:
|
command:
|
||||||
- "/bin/sh"
|
- "/bin/sh"
|
||||||
- yes
|
- true
|
||||||
register: command_8
|
register: command_8
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user