mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Convert to reduced list of known types (#50010)
This commit is contained in:
committed by
Jordan Borean
parent
fcd1486b51
commit
05c6ff79f9
@@ -107,7 +107,7 @@ RETURN = """
|
||||
result:
|
||||
description: information about performed operation
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "'com.acme.Extension' installed."
|
||||
"""
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ result:
|
||||
description:
|
||||
- string stating about result
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "Folder 'sub_network_folder' of type 'vm' created under vm_folder successfully."
|
||||
'''
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ about_facts:
|
||||
description:
|
||||
- dict about VMware server
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample:
|
||||
{
|
||||
"api_type": "VirtualCenter",
|
||||
|
||||
@@ -75,7 +75,7 @@ RETURN = '''
|
||||
dest_file:
|
||||
description: The full path of where the file holding the ESXi configurations was stored
|
||||
returned: changed
|
||||
type: string
|
||||
type: str
|
||||
sample: /tmp/configBundle-esxi.host.domain.tgz
|
||||
'''
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ RETURN = """
|
||||
result:
|
||||
description: information about datastore cluster operation
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "Datastore cluster 'DSC2' created successfully."
|
||||
"""
|
||||
|
||||
|
||||
@@ -196,7 +196,7 @@ RETURN = """
|
||||
result:
|
||||
description: information about performed operation
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: {
|
||||
"changed": false,
|
||||
"contact": null,
|
||||
|
||||
@@ -120,7 +120,7 @@ RETURN = """
|
||||
result:
|
||||
description: information about performed operation
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: {
|
||||
"changed": true,
|
||||
"dvswitch": "dvSwitch",
|
||||
|
||||
@@ -105,7 +105,7 @@ RETURN = """
|
||||
result:
|
||||
description: information about performed operation
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: {
|
||||
"changed": true,
|
||||
"dvswitch": "dvSwitch",
|
||||
|
||||
@@ -516,7 +516,7 @@ EXAMPLES = r'''
|
||||
- id: remoteIP
|
||||
category: Backup
|
||||
label: Backup server IP
|
||||
type: string
|
||||
type: str
|
||||
value: 10.10.10.1
|
||||
- id: old_property
|
||||
operation: remove
|
||||
|
||||
@@ -129,7 +129,7 @@ RETURN = r'''
|
||||
role_name:
|
||||
description: Name of local role
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
role_id:
|
||||
description: ESXi generated local role id
|
||||
returned: always
|
||||
|
||||
@@ -85,17 +85,17 @@ RETURN = '''
|
||||
hostsystem:
|
||||
description: Name of vim reference
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "'vim.HostSystem:host-236'"
|
||||
hostname:
|
||||
description: Name of host in vCenter
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "esxi.local.domain"
|
||||
status:
|
||||
description: Action taken
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "ENTER"
|
||||
'''
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ RETURN = '''
|
||||
running_host:
|
||||
description: List the host the virtual machine is registered to
|
||||
returned: changed or success
|
||||
type: string
|
||||
type: str
|
||||
sample: 'host1.example.com'
|
||||
'''
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ RETURN = """
|
||||
result:
|
||||
description: information about performed operation
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "vSwitch 'vSwitch_1002' is created successfully"
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user