mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #14810 from chouseknecht/docker_network_proposal
Updating docker_network module proposal
This commit is contained in:
commit
a302ba0ab4
1 changed files with 16 additions and 6 deletions
|
@ -25,6 +25,11 @@ driver:
|
||||||
- Specify the type of network. Docker provides bridge and overlay drivers, but 3rd party drivers can also be used.
|
- Specify the type of network. Docker provides bridge and overlay drivers, but 3rd party drivers can also be used.
|
||||||
default: bridge
|
default: bridge
|
||||||
|
|
||||||
|
driver_options:
|
||||||
|
description:
|
||||||
|
- Dictionary of network settings. Consult docker docs for valid options and values.
|
||||||
|
default: null
|
||||||
|
|
||||||
force:
|
force:
|
||||||
description:
|
description:
|
||||||
- With state 'absent' forces disconnecting all containers from the network prior to deleting the network. With
|
- 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.
|
Use incremental to leave existing containers connected.
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
|
ipam_driver:
|
||||||
|
description:
|
||||||
|
- Specifiy an IPAM driver.
|
||||||
|
default: null
|
||||||
|
|
||||||
|
ipam_options:
|
||||||
|
description:
|
||||||
|
- Dictionary of IPAM options.
|
||||||
|
default: null
|
||||||
|
|
||||||
network_name:
|
network_name:
|
||||||
description:
|
description:
|
||||||
- Name of the network to operate on.
|
- Name of the network to operate on.
|
||||||
default: null
|
default: null
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
options:
|
|
||||||
description:
|
|
||||||
- Dictionary of network settings. Consult docker docs for valid options and values.
|
|
||||||
default: null
|
|
||||||
|
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
|
@ -117,4 +127,4 @@ state:
|
||||||
< results from docker inspect for the affected network >
|
< results from docker inspect for the affected network >
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue