mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* improvements to the comments
* next documentation improvements
Co-authored-by: Frank Dornheim <“dornheim@posteo.de@users.noreply.github.com”>
(cherry picked from commit 57e5f8c7be
)
Co-authored-by: Frank Dornheim <524257+conloos@users.noreply.github.com>
This commit is contained in:
parent
c0f3aa14cf
commit
25482000f0
1 changed files with 14 additions and 14 deletions
|
@ -23,14 +23,14 @@ options:
|
||||||
required: true
|
required: true
|
||||||
architecture:
|
architecture:
|
||||||
description:
|
description:
|
||||||
- The architecture for the container (e.g. "x86_64" or "i686").
|
- 'The architecture for the container (for example C(x86_64) or C(i686)).
|
||||||
See U(https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1)
|
See U(https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1).'
|
||||||
type: str
|
type: str
|
||||||
required: false
|
required: false
|
||||||
config:
|
config:
|
||||||
description:
|
description:
|
||||||
- 'The config for the container (e.g. {"limits.cpu": "2"}).
|
- 'The config for the container (for example C({"limits.cpu": "2"})).
|
||||||
See U(https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1)'
|
See U(https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1).'
|
||||||
- If the container already exists and its "config" values in metadata
|
- If the container already exists and its "config" values in metadata
|
||||||
obtained from GET /1.0/containers/<name>
|
obtained from GET /1.0/containers/<name>
|
||||||
U(https://github.com/lxc/lxd/blob/master/doc/rest-api.md#10containersname)
|
U(https://github.com/lxc/lxd/blob/master/doc/rest-api.md#10containersname)
|
||||||
|
@ -51,20 +51,20 @@ options:
|
||||||
version_added: 3.7.0
|
version_added: 3.7.0
|
||||||
profiles:
|
profiles:
|
||||||
description:
|
description:
|
||||||
- Profile to be used by the container
|
- Profile to be used by the container.
|
||||||
type: list
|
type: list
|
||||||
elements: str
|
elements: str
|
||||||
devices:
|
devices:
|
||||||
description:
|
description:
|
||||||
- 'The devices for the container
|
- 'The devices for the container
|
||||||
(e.g. { "rootfs": { "path": "/dev/kvm", "type": "unix-char" }).
|
(for example C({ "rootfs": { "path": "/dev/kvm", "type": "unix-char" }})).
|
||||||
See U(https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1)'
|
See U(https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1).'
|
||||||
type: dict
|
type: dict
|
||||||
required: false
|
required: false
|
||||||
ephemeral:
|
ephemeral:
|
||||||
description:
|
description:
|
||||||
- Whether or not the container is ephemeral (e.g. true or false).
|
- Whether or not the container is ephemeral (for example C(true) or C(false)).
|
||||||
See U(https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1)
|
See U(https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1).
|
||||||
required: false
|
required: false
|
||||||
type: bool
|
type: bool
|
||||||
source:
|
source:
|
||||||
|
@ -76,7 +76,7 @@ options:
|
||||||
"protocol": "lxd",
|
"protocol": "lxd",
|
||||||
"alias": "ubuntu/xenial/amd64" }).'
|
"alias": "ubuntu/xenial/amd64" }).'
|
||||||
- 'See U(https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1) for complete API documentation.'
|
- 'See U(https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1) for complete API documentation.'
|
||||||
- 'Note that C(protocol) accepts two choices: C(lxd) or C(simplestreams)'
|
- 'Note that C(protocol) accepts two choices: C(lxd) or C(simplestreams).'
|
||||||
required: false
|
required: false
|
||||||
type: dict
|
type: dict
|
||||||
state:
|
state:
|
||||||
|
@ -152,10 +152,10 @@ options:
|
||||||
trust_password:
|
trust_password:
|
||||||
description:
|
description:
|
||||||
- The client trusted password.
|
- The client trusted password.
|
||||||
- You need to set this password on the LXD server before
|
- 'You need to set this password on the LXD server before
|
||||||
running this module using the following command.
|
running this module using the following command:
|
||||||
lxc config set core.trust_password <some random password>
|
C(lxc config set core.trust_password <some random password>).
|
||||||
See U(https://www.stgraber.org/2016/04/18/lxd-api-direct-interaction/)
|
See U(https://www.stgraber.org/2016/04/18/lxd-api-direct-interaction/).'
|
||||||
- If trust_password is set, this module send a request for
|
- If trust_password is set, this module send a request for
|
||||||
authentication before sending any requests.
|
authentication before sending any requests.
|
||||||
required: false
|
required: false
|
||||||
|
|
Loading…
Reference in a new issue