doc: remove common return values from various modules

pull/18777/head
Rene Moser 8 years ago committed by Matt Clay
parent e28c285be7
commit 04bf0542cc

@ -100,11 +100,6 @@ EXAMPLES = '''
''' '''
RETURN = ''' RETURN = '''
changed:
description: A flag indicating if any change was made or not
returned: success
type: boolean
sample: True
policy: policy:
description: The anti affinity policy information description: The anti affinity policy information
returned: success returned: success

@ -132,11 +132,6 @@ EXAMPLES = '''
''' '''
RETURN = ''' RETURN = '''
changed:
description: A flag indicating if any change was made or not
returned: success
type: boolean
sample: True
policy: policy:
description: The alert policy information description: The alert policy information
returned: success returned: success

@ -81,11 +81,6 @@ EXAMPLES = '''
''' '''
RETURN = ''' RETURN = '''
changed:
description: A flag indicating if any change was made or not
returned: success
type: boolean
sample: True
server_ids: server_ids:
description: The list of server ids that are changed description: The list of server ids that are changed
returned: success returned: success

@ -130,11 +130,6 @@ EXAMPLES = '''
''' '''
RETURN = ''' RETURN = '''
changed:
description: A flag indicating if any change was made or not
returned: success
type: boolean
sample: True
firewall_policy_id: firewall_policy_id:
description: The fire wall policy id description: The fire wall policy id
returned: success returned: success

@ -112,11 +112,6 @@ EXAMPLES = '''
''' '''
RETURN = ''' RETURN = '''
changed:
description: A flag indicating if any change was made or not
returned: success
type: boolean
sample: True
group: group:
description: The group information description: The group information
returned: success returned: success

@ -174,11 +174,6 @@ EXAMPLES = '''
''' '''
RETURN = ''' RETURN = '''
changed:
description: A flag indicating if any change was made or not
returned: success
type: boolean
sample: True
loadbalancer: loadbalancer:
description: The load balancer result object from CLC description: The load balancer result object from CLC
returned: success returned: success

@ -155,11 +155,6 @@ EXAMPLES = '''
''' '''
RETURN = ''' RETURN = '''
changed:
description: A flag indicating if any change was made or not
returned: success
type: boolean
sample: True
server_ids: server_ids:
description: The list of server ids that are changed description: The list of server ids that are changed
returned: success returned: success

@ -111,11 +111,6 @@ EXAMPLES = '''
''' '''
RETURN = ''' RETURN = '''
changed:
description: A flag indicating if any change was made or not
returned: success
type: boolean
sample: True
server_ids: server_ids:
description: The list of server ids that are changed description: The list of server ids that are changed
returned: success returned: success

@ -277,11 +277,6 @@ EXAMPLES = '''
''' '''
RETURN = ''' RETURN = '''
changed:
description: A flag indicating if any change was made or not
returned: success
type: boolean
sample: True
server_ids: server_ids:
description: The list of server ids that are created description: The list of server ids that are created
returned: success returned: success

@ -94,11 +94,6 @@ EXAMPLES = '''
''' '''
RETURN = ''' RETURN = '''
changed:
description: A flag indicating if any change was made or not
returned: success
type: boolean
sample: True
server_ids: server_ids:
description: The list of server ids that are changed description: The list of server ids that are changed
returned: success returned: success

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

Loading…
Cancel
Save