summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/cloud/docker/docker_network.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/cloud/docker/docker_network.py')
-rw-r--r--lib/ansible/modules/cloud/docker/docker_network.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/ansible/modules/cloud/docker/docker_network.py b/lib/ansible/modules/cloud/docker/docker_network.py
index 028d5758b5..9dfb3aa6fe 100644
--- a/lib/ansible/modules/cloud/docker/docker_network.py
+++ b/lib/ansible/modules/cloud/docker/docker_network.py
@@ -49,19 +49,19 @@ options:
force:
description:
- - With state I(absent) forces disconnecting all containers from the
- network prior to deleting the network. With state I(present) will
+ - With state C(absent) forces disconnecting all containers from the
+ network prior to deleting the network. With state C(present) will
disconnect all containers, delete the network and re-create the
- network. This option is required if you have changed the IPAM or
- driver options and want an existing network to be updated to use the
- new options.
+ network.
+ - This option is required if you have changed the IPAM or driver options
+ and want an existing network to be updated to use the new options.
type: bool
default: no
appends:
description:
- By default the connected list is canonical, meaning containers not on the list are removed from the network.
- Use C(appends) to leave existing containers connected.
+ - Use I(appends) to leave existing containers connected.
type: bool
default: no
aliases:
@@ -87,7 +87,7 @@ options:
ipam_options:
description:
- Dictionary of IPAM options.
- - Deprecated in 2.8, will be removed in 2.12. Use parameter C(ipam_config) instead. In Docker 1.10.0, IPAM
+ - Deprecated in 2.8, will be removed in 2.12. Use parameter I(ipam_config) instead. In Docker 1.10.0, IPAM
options were introduced (see L(here,https://github.com/moby/moby/pull/17316)). This module parameter addresses
the IPAM config not the newly introduced IPAM options. For the IPAM options, see the I(ipam_driver_options)
parameter.
@@ -138,14 +138,14 @@ options:
state:
description:
- - I(absent) deletes the network. If a network has connected containers, it
- cannot be deleted. Use the C(force) option to disconnect all containers
+ - C(absent) deletes the network. If a network has connected containers, it
+ cannot be deleted. Use the I(force) option to disconnect all containers
and delete the network.
- - I(present) creates the network, if it does not already exist with the
+ - C(present) creates the network, if it does not already exist with the
specified parameters, and connects the list of containers provided via
the connected parameter. Containers not on the list will be disconnected.
An empty list will leave no containers connected to the network. Use the
- C(appends) option to leave existing containers connected. Use the C(force)
+ I(appends) option to leave existing containers connected. Use the I(force)
options to force re-creation of the network.
type: str
default: present