Add support for container devices
This commit is contained in:
@@ -92,6 +92,21 @@ argument_specs:
|
||||
required: false
|
||||
default: []
|
||||
|
||||
container_devices:
|
||||
description: List of devices to be added inside the container.
|
||||
type: list
|
||||
required: false
|
||||
default: []
|
||||
elements: dict
|
||||
options:
|
||||
source:
|
||||
description: Device path on host
|
||||
type: str
|
||||
required: true
|
||||
destination:
|
||||
description: Device path inside the container. Defaults to same as host.
|
||||
type: str
|
||||
required: false
|
||||
container_publish_ports:
|
||||
description: "A list of published ports in docker format (<host listen address>:<host port>:<container port>)"
|
||||
type: list
|
||||
|
||||
Reference in New Issue
Block a user