mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
cloudstack: streamline modules doc (part 6) (#54641)
* Parameter types added * Copyright format fixes * Doc style fixes * Examples format fixes * validate-module errors fixes
This commit is contained in:
committed by
René Moser
parent
6a27e308dd
commit
eff1f8851c
@@ -16,12 +16,13 @@ short_description: Gathering facts of zones from Apache CloudStack based clouds.
|
||||
description:
|
||||
- Gathering facts from the API of a zone.
|
||||
- Sets Ansible facts accessable by the key C(cloudstack_zone) and since version 2.6 also returns results.
|
||||
version_added: "2.1"
|
||||
author: "René Moser (@resmo)"
|
||||
version_added: '2.1'
|
||||
author: René Moser (@resmo)
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
- Name of the zone.
|
||||
type: str
|
||||
required: true
|
||||
aliases: [ zone ]
|
||||
extends_documentation_fragment: cloudstack
|
||||
@@ -29,10 +30,10 @@ extends_documentation_fragment: cloudstack
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: Gather facts from a zone
|
||||
local_action:
|
||||
module: cs_zone_facts
|
||||
cs_zone_facts:
|
||||
name: ch-gva-1
|
||||
register: zone
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Show the returned results of the registered variable
|
||||
debug:
|
||||
|
||||
Reference in New Issue
Block a user