From 4722144acfe2b480d7068732cbc31be5c80a22f1 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Mon, 1 Aug 2016 21:34:33 -0400 Subject: [PATCH] Add return data example --- .../extras/cloud/vmware/vmware_template_deploy.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/cloud/vmware/vmware_template_deploy.py b/lib/ansible/modules/extras/cloud/vmware/vmware_template_deploy.py index 82ef01b7ba..1e675cbe26 100644 --- a/lib/ansible/modules/extras/cloud/vmware/vmware_template_deploy.py +++ b/lib/ansible/modules/extras/cloud/vmware/vmware_template_deploy.py @@ -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: