mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 03:52:05 +00:00
(cherry picked from commit d0a3e587a5)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
da7ef0e8cc
commit
88fb666d41
@ -130,7 +130,7 @@ client_cert: /somewhere/cert.pem
|
||||
# Example using constructed features to create groups and set ansible_host
|
||||
plugin: community.docker.docker_swarm
|
||||
docker_host: tcp://my-docker-host:2375
|
||||
strict: False
|
||||
strict: false
|
||||
keyed_groups:
|
||||
# add for example x86_64 hosts to an arch_x86_64 group
|
||||
- prefix: arch
|
||||
|
||||
@ -52,7 +52,7 @@ options:
|
||||
force_remove:
|
||||
description:
|
||||
- Remove even if the plugin is enabled.
|
||||
default: False
|
||||
default: false
|
||||
type: bool
|
||||
|
||||
enable_timeout:
|
||||
|
||||
@ -777,7 +777,7 @@ rebuilt:
|
||||
description:
|
||||
- True if the service has been recreated (removed and created)
|
||||
type: bool
|
||||
sample: True
|
||||
sample: true
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
||||
@ -62,7 +62,7 @@
|
||||
docker_network:
|
||||
name: "{{ nname_1 }}"
|
||||
driver_options:
|
||||
com.docker.network.bridge.enable_icc: False
|
||||
com.docker.network.bridge.enable_icc: false
|
||||
register: driver_options_3
|
||||
|
||||
- name: driver_options (change)
|
||||
@ -76,7 +76,7 @@
|
||||
docker_network:
|
||||
name: "{{ nname_1 }}"
|
||||
driver_options:
|
||||
com.docker.network.bridge.enable_icc: True
|
||||
com.docker.network.bridge.enable_icc: true
|
||||
register: driver_options_5
|
||||
|
||||
- name: cleanup
|
||||
|
||||
@ -143,7 +143,7 @@
|
||||
resolve_image: no
|
||||
command:
|
||||
- "/bin/sh"
|
||||
- yes
|
||||
- true
|
||||
register: command_8
|
||||
ignore_errors: yes
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user