|
|
|
@ -25,6 +25,11 @@ driver:
|
|
|
|
|
- Specify the type of network. Docker provides bridge and overlay drivers, but 3rd party drivers can also be used.
|
|
|
|
|
default: bridge
|
|
|
|
|
|
|
|
|
|
driver_options:
|
|
|
|
|
description:
|
|
|
|
|
- Dictionary of network settings. Consult docker docs for valid options and values.
|
|
|
|
|
default: null
|
|
|
|
|
|
|
|
|
|
force:
|
|
|
|
|
description:
|
|
|
|
|
- With state 'absent' forces disconnecting all containers from the network prior to deleting the network. With
|
|
|
|
@ -37,16 +42,21 @@ incremental:
|
|
|
|
|
Use incremental to leave existing containers connected.
|
|
|
|
|
default: false
|
|
|
|
|
|
|
|
|
|
network_name:
|
|
|
|
|
ipam_driver:
|
|
|
|
|
description:
|
|
|
|
|
- Name of the network to operate on.
|
|
|
|
|
- Specifiy an IPAM driver.
|
|
|
|
|
default: null
|
|
|
|
|
|
|
|
|
|
ipam_options:
|
|
|
|
|
description:
|
|
|
|
|
- Dictionary of IPAM options.
|
|
|
|
|
default: null
|
|
|
|
|
required: true
|
|
|
|
|
|
|
|
|
|
options:
|
|
|
|
|
network_name:
|
|
|
|
|
description:
|
|
|
|
|
- Dictionary of network settings. Consult docker docs for valid options and values.
|
|
|
|
|
- Name of the network to operate on.
|
|
|
|
|
default: null
|
|
|
|
|
required: true
|
|
|
|
|
|
|
|
|
|
state:
|
|
|
|
|
description:
|
|
|
|
@ -117,4 +127,4 @@ state:
|
|
|
|
|
< results from docker inspect for the affected network >
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
```
|
|
|
|
|