mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-17 12:28:55 +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
|
# 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
|
||||||
|
|||||||
@ -52,7 +52,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:
|
||||||
|
|||||||
@ -777,7 +777,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 = '''
|
||||||
|
|||||||
@ -62,7 +62,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)
|
||||||
@ -76,7 +76,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
|
||||||
|
|||||||
@ -143,7 +143,7 @@
|
|||||||
resolve_image: no
|
resolve_image: no
|
||||||
command:
|
command:
|
||||||
- "/bin/sh"
|
- "/bin/sh"
|
||||||
- yes
|
- true
|
||||||
register: command_8
|
register: command_8
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user