mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-28 13:21:25 -07:00
cloudstack: streamline modules doc (part 4) (#53874)
* cloudstack: streamline modules doc (part 4) * Parameter types added * Copyright format fixes * Doc style fixes * Examples format fixes * validate-module errors fixes * cs_network_offering: Rollback of the deletion of the choice list for supported_services param
This commit is contained in:
parent
e8972ce459
commit
ef6da8ec5c
14 changed files with 278 additions and 244 deletions
|
@ -20,44 +20,50 @@ short_description: Manages security groups on Apache CloudStack based clouds.
|
|||
description:
|
||||
- Create and remove security groups.
|
||||
version_added: '2.0'
|
||||
author: "René Moser (@resmo)"
|
||||
author: René Moser (@resmo)
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
- Name of the security group.
|
||||
type: str
|
||||
required: true
|
||||
description:
|
||||
description:
|
||||
- Description of the security group.
|
||||
type: str
|
||||
state:
|
||||
description:
|
||||
- State of the security group.
|
||||
type: str
|
||||
default: present
|
||||
choices: [ present, absent ]
|
||||
domain:
|
||||
description:
|
||||
- Domain the security group is related to.
|
||||
type: str
|
||||
account:
|
||||
description:
|
||||
- Account the security group is related to.
|
||||
type: str
|
||||
project:
|
||||
description:
|
||||
- Name of the project the security group to be created in.
|
||||
type: str
|
||||
extends_documentation_fragment: cloudstack
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: create a security group
|
||||
local_action:
|
||||
module: cs_securitygroup
|
||||
cs_securitygroup:
|
||||
name: default
|
||||
description: default security group
|
||||
delegate_to: localhost
|
||||
|
||||
- name: remove a security group
|
||||
local_action:
|
||||
module: cs_securitygroup
|
||||
cs_securitygroup:
|
||||
name: default
|
||||
state: absent
|
||||
delegate_to: localhost
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
@ -80,7 +86,7 @@ description:
|
|||
tags:
|
||||
description: List of resource tags associated with the security group.
|
||||
returned: success
|
||||
type: dict
|
||||
type: list
|
||||
sample: '[ { "key": "foo", "value": "bar" } ]'
|
||||
project:
|
||||
description: Name of project the security group is related to.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue