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
|
||||
vm_hardware:
|
||||
description:
|
||||
- FIXME
|
||||
- Attributes such as cpus, memroy, osid, and disk controller
|
||||
required: False
|
||||
vm_nic:
|
||||
description:
|
||||
|
@ -103,6 +103,14 @@ Example from Ansible playbook
|
|||
register: deploy
|
||||
'''
|
||||
|
||||
RETURN = """
|
||||
instance:
|
||||
descripton: metadata about the new virtualmachine
|
||||
returned: always
|
||||
type: dict
|
||||
sample: None
|
||||
"""
|
||||
|
||||
try:
|
||||
import json
|
||||
except ImportError:
|
||||
|
|
Loading…
Reference in a new issue