1
0
Fork 0
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:
James Tanner 2016-08-01 21:34:33 -04:00 committed by Matt Clay
parent 91e2c5e0ea
commit 4722144acf

View file

@ -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: