mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #5952/cc29b165 backport][stable-6] Add attributes to clc, hwc, and lxd modules (#6053)
Add attributes to clc, hwc, and lxd modules (#5952)
Add attributes to clc, hwc, and lxd modules.
(cherry picked from commit cc29b16536
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
b934e06569
commit
fdfcd15960
25 changed files with 194 additions and 38 deletions
|
@ -14,6 +14,13 @@ module: clc_aa_policy
|
|||
short_description: Create or Delete Anti Affinity Policies at CenturyLink Cloud
|
||||
description:
|
||||
- An Ansible module to Create or Delete Anti Affinity Policies at CenturyLink Cloud.
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
|
|
|
@ -15,6 +15,13 @@ module: clc_alert_policy
|
|||
short_description: Create or Delete Alert Policies at CenturyLink Cloud
|
||||
description:
|
||||
- An Ansible module to Create or Delete Alert Policies at CenturyLink Cloud.
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
alias:
|
||||
description:
|
||||
|
|
|
@ -14,6 +14,13 @@ module: clc_blueprint_package
|
|||
short_description: Deploys a blue print package on a set of servers in CenturyLink Cloud
|
||||
description:
|
||||
- An Ansible module to deploy blue print package on a set of servers in CenturyLink Cloud.
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
server_ids:
|
||||
description:
|
||||
|
|
|
@ -14,6 +14,13 @@ module: clc_firewall_policy
|
|||
short_description: Create/delete/update firewall policies
|
||||
description:
|
||||
- Create or delete or update firewall policies on Centurylink Cloud
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
location:
|
||||
description:
|
||||
|
|
|
@ -15,6 +15,13 @@ module: clc_group
|
|||
short_description: Create/delete Server Groups at Centurylink Cloud
|
||||
description:
|
||||
- Create or delete Server Groups at Centurylink Centurylink Cloud
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
|
|
|
@ -15,6 +15,13 @@ module: clc_loadbalancer
|
|||
short_description: Create, Delete shared loadbalancers in CenturyLink Cloud
|
||||
description:
|
||||
- An Ansible module to Create, Delete shared loadbalancers in CenturyLink Cloud.
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
|
|
|
@ -14,6 +14,13 @@ module: clc_modify_server
|
|||
short_description: Modify servers in CenturyLink Cloud
|
||||
description:
|
||||
- An Ansible module to modify servers in CenturyLink Cloud.
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
server_ids:
|
||||
description:
|
||||
|
|
|
@ -14,6 +14,13 @@ module: clc_publicip
|
|||
short_description: Add and Delete public ips on servers in CenturyLink Cloud
|
||||
description:
|
||||
- An Ansible module to add or delete public ip addresses on an existing server or servers in CenturyLink Cloud.
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
protocol:
|
||||
description:
|
||||
|
|
|
@ -14,6 +14,13 @@ module: clc_server
|
|||
short_description: Create, Delete, Start and Stop servers in CenturyLink Cloud
|
||||
description:
|
||||
- An Ansible module to Create, Delete, Start and Stop servers in CenturyLink Cloud.
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
additional_disks:
|
||||
description:
|
||||
|
|
|
@ -14,6 +14,13 @@ module: clc_server_snapshot
|
|||
short_description: Create, Delete and Restore server snapshots in CenturyLink Cloud
|
||||
description:
|
||||
- An Ansible module to Create, Delete and Restore server snapshots in CenturyLink Cloud.
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
server_ids:
|
||||
description:
|
||||
|
|
|
@ -22,6 +22,11 @@ version_added: '0.2.0'
|
|||
author: Huawei Inc. (@huaweicloud)
|
||||
requirements:
|
||||
- keystoneauth1 >= 3.6.0
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
@ -225,7 +230,8 @@ options:
|
|||
type: str
|
||||
required: false
|
||||
extends_documentation_fragment:
|
||||
- community.general.hwc
|
||||
- community.general.hwc
|
||||
- community.general.attributes
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -22,6 +22,11 @@ version_added: '0.2.0'
|
|||
author: Huawei Inc. (@huaweicloud)
|
||||
requirements:
|
||||
- keystoneauth1 >= 3.6.0
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
@ -150,7 +155,8 @@ options:
|
|||
type: str
|
||||
required: false
|
||||
extends_documentation_fragment:
|
||||
- community.general.hwc
|
||||
- community.general.hwc
|
||||
- community.general.attributes
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -22,6 +22,11 @@ author: Huawei Inc. (@huaweicloud)
|
|||
requirements:
|
||||
- requests >= 2.18.4
|
||||
- keystoneauth1 >= 3.6.0
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
@ -61,7 +66,8 @@ options:
|
|||
type: str
|
||||
required: true
|
||||
extends_documentation_fragment:
|
||||
- community.general.hwc
|
||||
- community.general.hwc
|
||||
- community.general.attributes
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -22,6 +22,11 @@ author: Huawei Inc. (@huaweicloud)
|
|||
requirements:
|
||||
- requests >= 2.18.4
|
||||
- keystoneauth1 >= 3.6.0
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
@ -45,7 +50,8 @@ options:
|
|||
type: str
|
||||
required: true
|
||||
extends_documentation_fragment:
|
||||
- community.general.hwc
|
||||
- community.general.hwc
|
||||
- community.general.attributes
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -22,6 +22,11 @@ version_added: '0.2.0'
|
|||
author: Huawei Inc. (@huaweicloud)
|
||||
requirements:
|
||||
- keystoneauth1 >= 3.6.0
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
@ -121,7 +126,8 @@ options:
|
|||
type: str
|
||||
required: false
|
||||
extends_documentation_fragment:
|
||||
- community.general.hwc
|
||||
- community.general.hwc
|
||||
- community.general.attributes
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -23,6 +23,11 @@ version_added: '0.2.0'
|
|||
author: Huawei Inc. (@huaweicloud)
|
||||
requirements:
|
||||
- keystoneauth1 >= 3.6.0
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
@ -75,7 +80,8 @@ options:
|
|||
type: str
|
||||
required: false
|
||||
extends_documentation_fragment:
|
||||
- community.general.hwc
|
||||
- community.general.hwc
|
||||
- community.general.attributes
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -22,6 +22,11 @@ version_added: '0.2.0'
|
|||
author: Huawei Inc. (@huaweicloud)
|
||||
requirements:
|
||||
- keystoneauth1 >= 3.6.0
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
@ -105,7 +110,8 @@ options:
|
|||
elements: str
|
||||
required: false
|
||||
extends_documentation_fragment:
|
||||
- community.general.hwc
|
||||
- community.general.hwc
|
||||
- community.general.attributes
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -19,13 +19,18 @@ description:
|
|||
- vpc private ip management.
|
||||
short_description: Creates a resource of Vpc/PrivateIP in Huawei Cloud
|
||||
notes:
|
||||
- If I(id) option is provided, it takes precedence over I(subnet_id), I(ip_address) for private ip selection.
|
||||
- I(subnet_id), I(ip_address) are used for private ip selection. If more than one private ip with this options exists, execution is aborted.
|
||||
- No parameter support updating. If one of option is changed, the module will create a new resource.
|
||||
- If I(id) option is provided, it takes precedence over I(subnet_id), I(ip_address) for private ip selection.
|
||||
- I(subnet_id), I(ip_address) are used for private ip selection. If more than one private ip with this options exists, execution is aborted.
|
||||
- No parameter support updating. If one of option is changed, the module will create a new resource.
|
||||
version_added: '0.2.0'
|
||||
author: Huawei Inc. (@huaweicloud)
|
||||
requirements:
|
||||
- keystoneauth1 >= 3.6.0
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
@ -48,7 +53,8 @@ options:
|
|||
type: str
|
||||
required: false
|
||||
extends_documentation_fragment:
|
||||
- community.general.hwc
|
||||
- community.general.hwc
|
||||
- community.general.attributes
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -19,13 +19,18 @@ description:
|
|||
- vpc route management.
|
||||
short_description: Creates a resource of Vpc/Route in Huawei Cloud
|
||||
notes:
|
||||
- If I(id) option is provided, it takes precedence over I(destination), I(vpc_id), I(type) and I(next_hop) for route selection.
|
||||
- I(destination), I(vpc_id), I(type) and I(next_hop) are used for route selection. If more than one route with this options exists, execution is aborted.
|
||||
- No parameter support updating. If one of option is changed, the module will create a new resource.
|
||||
- If I(id) option is provided, it takes precedence over I(destination), I(vpc_id), I(type) and I(next_hop) for route selection.
|
||||
- I(destination), I(vpc_id), I(type) and I(next_hop) are used for route selection. If more than one route with this options exists, execution is aborted.
|
||||
- No parameter support updating. If one of option is changed, the module will create a new resource.
|
||||
version_added: '0.2.0'
|
||||
author: Huawei Inc. (@huaweicloud)
|
||||
requirements:
|
||||
- keystoneauth1 >= 3.6.0
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
@ -55,7 +60,8 @@ options:
|
|||
required: false
|
||||
default: 'peering'
|
||||
extends_documentation_fragment:
|
||||
- community.general.hwc
|
||||
- community.general.hwc
|
||||
- community.general.attributes
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -19,17 +19,22 @@ description:
|
|||
- vpc security group management.
|
||||
short_description: Creates a resource of Vpc/SecurityGroup in Huawei Cloud
|
||||
notes:
|
||||
- If I(id) option is provided, it takes precedence over I(name),
|
||||
I(enterprise_project_id) and I(vpc_id) for security group selection.
|
||||
- I(name), I(enterprise_project_id) and I(vpc_id) are used for security
|
||||
group selection. If more than one security group with this options exists,
|
||||
execution is aborted.
|
||||
- No parameter support updating. If one of option is changed, the module
|
||||
will create a new resource.
|
||||
- If I(id) option is provided, it takes precedence over I(name),
|
||||
I(enterprise_project_id) and I(vpc_id) for security group selection.
|
||||
- I(name), I(enterprise_project_id) and I(vpc_id) are used for security
|
||||
group selection. If more than one security group with this options exists,
|
||||
execution is aborted.
|
||||
- No parameter support updating. If one of option is changed, the module
|
||||
will create a new resource.
|
||||
version_added: '0.2.0'
|
||||
author: Huawei Inc. (@huaweicloud)
|
||||
requirements:
|
||||
- keystoneauth1 >= 3.6.0
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
@ -58,7 +63,8 @@ options:
|
|||
type: str
|
||||
required: false
|
||||
extends_documentation_fragment:
|
||||
- community.general.hwc
|
||||
- community.general.hwc
|
||||
- community.general.attributes
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -19,17 +19,22 @@ description:
|
|||
- vpc security group management.
|
||||
short_description: Creates a resource of Vpc/SecurityGroupRule in Huawei Cloud
|
||||
notes:
|
||||
- If I(id) option is provided, it takes precedence over
|
||||
I(enterprise_project_id) for security group rule selection.
|
||||
- I(security_group_id) is used for security group rule selection. If more
|
||||
than one security group rule with this options exists, execution is
|
||||
aborted.
|
||||
- No parameter support updating. If one of option is changed, the module
|
||||
will create a new resource.
|
||||
- If I(id) option is provided, it takes precedence over
|
||||
I(enterprise_project_id) for security group rule selection.
|
||||
- I(security_group_id) is used for security group rule selection. If more
|
||||
than one security group rule with this options exists, execution is
|
||||
aborted.
|
||||
- No parameter support updating. If one of option is changed, the module
|
||||
will create a new resource.
|
||||
version_added: '0.2.0'
|
||||
author: Huawei Inc. (@huaweicloud)
|
||||
requirements:
|
||||
- keystoneauth1 >= 3.6.0
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
@ -100,7 +105,8 @@ options:
|
|||
type: str
|
||||
required: false
|
||||
extends_documentation_fragment:
|
||||
- community.general.hwc
|
||||
- community.general.hwc
|
||||
- community.general.attributes
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -22,6 +22,11 @@ version_added: '0.2.0'
|
|||
author: Huawei Inc. (@huaweicloud)
|
||||
requirements:
|
||||
- keystoneauth1 >= 3.6.0
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
@ -94,7 +99,8 @@ options:
|
|||
elements: str
|
||||
required: false
|
||||
extends_documentation_fragment:
|
||||
- community.general.hwc
|
||||
- community.general.hwc
|
||||
- community.general.attributes
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -19,12 +19,12 @@ author: "Hiroaki Nakamura (@hnakamur)"
|
|||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
version_added: 6.4.0
|
||||
diff_mode:
|
||||
support: full
|
||||
version_added: 6.4.0
|
||||
check_mode:
|
||||
support: full
|
||||
version_added: 6.4.0
|
||||
diff_mode:
|
||||
support: full
|
||||
version_added: 6.4.0
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
|
|
|
@ -16,6 +16,13 @@ short_description: Manage LXD profiles
|
|||
description:
|
||||
- Management of LXD profiles
|
||||
author: "Hiroaki Nakamura (@hnakamur)"
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: none
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
|
|
|
@ -15,6 +15,13 @@ version_added: 4.8.0
|
|||
description:
|
||||
- Management of LXD projects.
|
||||
author: "Raymond Chang (@we10710aa)"
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: none
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
|
|
Loading…
Reference in a new issue