Return values
create
For create operations, the module returns a dict containing:
Name | Value | Description |
---|---|---|
action | always create | The name of the current action |
change |
| If the task made changes within the resources |
failed |
| If the task failed |
resource | The current resource | The key contains the resource name and the value is a dictionary containing the current resource. |
Example for datacenter resource:
update
For update operations, the module returns a dict containing:
Name | Value | Description |
---|---|---|
action | always update | The name of the current action |
change |
| If the task made changes within the resources |
failed |
| If the task failed |
resource | The current resource | The key contains the resource name and the value is a dictionary containing the current resource. |
Example for datacenter resource:
delete
For delete operations, the module returns a dict containing:
Name | Value | Description |
---|---|---|
action | always delete | The name of the current action |
change |
| If the task made changes within the resources |
failed |
| If the task failed |
id | The id of the resource |
Example for datacenter resource:
Last updated