mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add return data example
This commit is contained in:
parent
91e2c5e0ea
commit
4722144acf
1 changed files with 9 additions and 1 deletions
|
@ -43,7 +43,7 @@ options:
|
||||||
required: False
|
required: False
|
||||||
vm_hardware:
|
vm_hardware:
|
||||||
description:
|
description:
|
||||||
- FIXME
|
- Attributes such as cpus, memroy, osid, and disk controller
|
||||||
required: False
|
required: False
|
||||||
vm_nic:
|
vm_nic:
|
||||||
description:
|
description:
|
||||||
|
@ -103,6 +103,14 @@ Example from Ansible playbook
|
||||||
register: deploy
|
register: deploy
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
RETURN = """
|
||||||
|
instance:
|
||||||
|
descripton: metadata about the new virtualmachine
|
||||||
|
returned: always
|
||||||
|
type: dict
|
||||||
|
sample: None
|
||||||
|
"""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import json
|
import json
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
Loading…
Reference in a new issue