Documentation for several VMware modules (#45153)

* Added return for vmware_host_config_facts
* Added return for vmware_host_service_facts
* Correct typo in vmware_portgroup_facts

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2018-09-04 16:37:14 +05:30 committed by GitHub
parent ab3cd10dfe
commit 885ee25375
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 3 deletions

View file

@ -57,7 +57,21 @@ EXAMPLES = r'''
delegate_to: localhost delegate_to: localhost
''' '''
RETURN = r'''# RETURN = r'''
hosts_facts:
description:
- dict with hostname as key and dict with host config facts
returned: always
type: dict
sample: {
"10.76.33.226": {
"Annotations.WelcomeMessage": "",
"BufferCache.FlushInterval": 30000,
"BufferCache.HardMaxDirty": 95,
"BufferCache.PerFileHardMaxDirty": 50,
"BufferCache.SoftMaxDirty": 15,
}
}
''' '''
from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.basic import AnsibleModule

View file

@ -61,7 +61,32 @@ EXAMPLES = r'''
register: host_services register: host_services
''' '''
RETURN = r'''# RETURN = r'''
host_service_facts:
description:
- dict with hostname as key and dict with host service config facts
returned: always
type: dict
sample: {
"10.76.33.226": [
{
"key": "DCUI",
"label": "Direct Console UI",
"policy": "on",
"required": false,
"running": true,
"uninstallable": false
},
{
"key": "TSM",
"label": "ESXi Shell",
"policy": "off",
"required": false,
"running": false,
"uninstallable": false
},
]
}
''' '''
from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.basic import AnsibleModule

View file

@ -59,7 +59,7 @@ EXAMPLES = r'''
''' '''
RETURN = r''' RETURN = r'''
hosts_firewall_facts: hosts_portgroup_facts:
description: metadata about host's portgroup configuration description: metadata about host's portgroup configuration
returned: on success returned: on success
type: dict type: dict