mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Add return data example
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user