doc: remove common return values from various modules

This commit is contained in:
Rene Moser
2016-07-08 10:54:31 +02:00
committed by Matt Clay
parent e28c285be7
commit 04bf0542cc
11 changed files with 5 additions and 61 deletions

View File

@@ -60,18 +60,12 @@ EXAMPLES = '''
local_action:
module: vmware_local_user_manager
hostname: esxi_hostname
username: root
username: root
password: vmware
local_user_name: foo
local_user_name: foo
'''
RETURN = '''
changed:
description: A flag indicating if any change was made or not.
returned: success
type: boolean
sample: True
'''
RETURN = '''# '''
try:
from pyVmomi import vim, vmodl
@@ -181,12 +175,12 @@ def main():
local_user_password=dict(required=False, type='str', no_log=True),
local_user_description=dict(required=False, type='str'),
state=dict(default='present', choices=['present', 'absent'], type='str')))
module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=False)
if not HAS_PYVMOMI:
module.fail_json(msg='pyvmomi is required for this module')
vmware_local_user_manager = VMwareLocalUserManager(module)
vmware_local_user_manager.process_state()