mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
doc: remove common return values from various modules
This commit is contained in:
parent
e28c285be7
commit
04bf0542cc
11 changed files with 5 additions and 61 deletions
|
@ -100,11 +100,6 @@ EXAMPLES = '''
|
|||
'''
|
||||
|
||||
RETURN = '''
|
||||
changed:
|
||||
description: A flag indicating if any change was made or not
|
||||
returned: success
|
||||
type: boolean
|
||||
sample: True
|
||||
policy:
|
||||
description: The anti affinity policy information
|
||||
returned: success
|
||||
|
|
|
@ -132,11 +132,6 @@ EXAMPLES = '''
|
|||
'''
|
||||
|
||||
RETURN = '''
|
||||
changed:
|
||||
description: A flag indicating if any change was made or not
|
||||
returned: success
|
||||
type: boolean
|
||||
sample: True
|
||||
policy:
|
||||
description: The alert policy information
|
||||
returned: success
|
||||
|
|
|
@ -81,11 +81,6 @@ EXAMPLES = '''
|
|||
'''
|
||||
|
||||
RETURN = '''
|
||||
changed:
|
||||
description: A flag indicating if any change was made or not
|
||||
returned: success
|
||||
type: boolean
|
||||
sample: True
|
||||
server_ids:
|
||||
description: The list of server ids that are changed
|
||||
returned: success
|
||||
|
|
|
@ -130,11 +130,6 @@ EXAMPLES = '''
|
|||
'''
|
||||
|
||||
RETURN = '''
|
||||
changed:
|
||||
description: A flag indicating if any change was made or not
|
||||
returned: success
|
||||
type: boolean
|
||||
sample: True
|
||||
firewall_policy_id:
|
||||
description: The fire wall policy id
|
||||
returned: success
|
||||
|
|
|
@ -112,11 +112,6 @@ EXAMPLES = '''
|
|||
'''
|
||||
|
||||
RETURN = '''
|
||||
changed:
|
||||
description: A flag indicating if any change was made or not
|
||||
returned: success
|
||||
type: boolean
|
||||
sample: True
|
||||
group:
|
||||
description: The group information
|
||||
returned: success
|
||||
|
|
|
@ -174,11 +174,6 @@ EXAMPLES = '''
|
|||
'''
|
||||
|
||||
RETURN = '''
|
||||
changed:
|
||||
description: A flag indicating if any change was made or not
|
||||
returned: success
|
||||
type: boolean
|
||||
sample: True
|
||||
loadbalancer:
|
||||
description: The load balancer result object from CLC
|
||||
returned: success
|
||||
|
|
|
@ -155,11 +155,6 @@ EXAMPLES = '''
|
|||
'''
|
||||
|
||||
RETURN = '''
|
||||
changed:
|
||||
description: A flag indicating if any change was made or not
|
||||
returned: success
|
||||
type: boolean
|
||||
sample: True
|
||||
server_ids:
|
||||
description: The list of server ids that are changed
|
||||
returned: success
|
||||
|
|
|
@ -111,11 +111,6 @@ EXAMPLES = '''
|
|||
'''
|
||||
|
||||
RETURN = '''
|
||||
changed:
|
||||
description: A flag indicating if any change was made or not
|
||||
returned: success
|
||||
type: boolean
|
||||
sample: True
|
||||
server_ids:
|
||||
description: The list of server ids that are changed
|
||||
returned: success
|
||||
|
|
|
@ -277,11 +277,6 @@ EXAMPLES = '''
|
|||
'''
|
||||
|
||||
RETURN = '''
|
||||
changed:
|
||||
description: A flag indicating if any change was made or not
|
||||
returned: success
|
||||
type: boolean
|
||||
sample: True
|
||||
server_ids:
|
||||
description: The list of server ids that are created
|
||||
returned: success
|
||||
|
|
|
@ -94,11 +94,6 @@ EXAMPLES = '''
|
|||
'''
|
||||
|
||||
RETURN = '''
|
||||
changed:
|
||||
description: A flag indicating if any change was made or not
|
||||
returned: success
|
||||
type: boolean
|
||||
sample: True
|
||||
server_ids:
|
||||
description: The list of server ids that are changed
|
||||
returned: success
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue