mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Improve docs w.r.t. networks_cli_compatible. (#56971)
This commit is contained in:
parent
012609b09a
commit
b33c9dad40
1 changed files with 4 additions and 0 deletions
|
@ -434,6 +434,10 @@ options:
|
||||||
- "If I(networks_cli_compatible) is set to C(yes), this module will behave as
|
- "If I(networks_cli_compatible) is set to C(yes), this module will behave as
|
||||||
C(docker run --network) and will I(not) add the default network if C(networks) is
|
C(docker run --network) and will I(not) add the default network if C(networks) is
|
||||||
specified. If C(networks) is not specified, the default network will be attached."
|
specified. If C(networks) is not specified, the default network will be attached."
|
||||||
|
- "Note that docker CLI also sets C(network_mode) to the name of the first network
|
||||||
|
added if C(--network) is specified. For more compatibility with docker CLI, you
|
||||||
|
explicitly have to set C(network_mode) to the name of the first network you're
|
||||||
|
adding."
|
||||||
- Current value is C(no). A new default of C(yes) will be set in Ansible 2.12.
|
- Current value is C(no). A new default of C(yes) will be set in Ansible 2.12.
|
||||||
type: bool
|
type: bool
|
||||||
version_added: "2.8"
|
version_added: "2.8"
|
||||||
|
|
Loading…
Reference in a new issue