1
0
Fork 0
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:
patchback[bot] 2023-02-24 11:03:38 +01:00 committed by GitHub
parent b934e06569
commit fdfcd15960
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 194 additions and 38 deletions

View file

@ -14,6 +14,13 @@ module: clc_aa_policy
short_description: Create or Delete Anti Affinity Policies at CenturyLink Cloud short_description: Create or Delete Anti Affinity Policies at CenturyLink Cloud
description: description:
- An Ansible module to Create or Delete Anti Affinity Policies at CenturyLink Cloud. - 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: options:
name: name:
description: description:

View file

@ -15,6 +15,13 @@ module: clc_alert_policy
short_description: Create or Delete Alert Policies at CenturyLink Cloud short_description: Create or Delete Alert Policies at CenturyLink Cloud
description: description:
- An Ansible module to Create or Delete Alert Policies at CenturyLink Cloud. - 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: options:
alias: alias:
description: description:

View file

@ -14,6 +14,13 @@ module: clc_blueprint_package
short_description: Deploys a blue print package on a set of servers in CenturyLink Cloud short_description: Deploys a blue print package on a set of servers in CenturyLink Cloud
description: description:
- An Ansible module to deploy blue print package on a set of servers in CenturyLink Cloud. - 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: options:
server_ids: server_ids:
description: description:

View file

@ -14,6 +14,13 @@ module: clc_firewall_policy
short_description: Create/delete/update firewall policies short_description: Create/delete/update firewall policies
description: description:
- Create or delete or update firewall policies on Centurylink Cloud - 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: options:
location: location:
description: description:

View file

@ -15,6 +15,13 @@ module: clc_group
short_description: Create/delete Server Groups at Centurylink Cloud short_description: Create/delete Server Groups at Centurylink Cloud
description: description:
- Create or delete Server Groups at Centurylink Centurylink Cloud - 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: options:
name: name:
description: description:

View file

@ -15,6 +15,13 @@ module: clc_loadbalancer
short_description: Create, Delete shared loadbalancers in CenturyLink Cloud short_description: Create, Delete shared loadbalancers in CenturyLink Cloud
description: description:
- An Ansible module to Create, Delete shared loadbalancers in CenturyLink Cloud. - 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: options:
name: name:
description: description:

View file

@ -14,6 +14,13 @@ module: clc_modify_server
short_description: Modify servers in CenturyLink Cloud short_description: Modify servers in CenturyLink Cloud
description: description:
- An Ansible module to modify servers in CenturyLink Cloud. - 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: options:
server_ids: server_ids:
description: description:

View file

@ -14,6 +14,13 @@ module: clc_publicip
short_description: Add and Delete public ips on servers in CenturyLink Cloud short_description: Add and Delete public ips on servers in CenturyLink Cloud
description: description:
- An Ansible module to add or delete public ip addresses on an existing server or servers in CenturyLink Cloud. - 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: options:
protocol: protocol:
description: description:

View file

@ -14,6 +14,13 @@ module: clc_server
short_description: Create, Delete, Start and Stop servers in CenturyLink Cloud short_description: Create, Delete, Start and Stop servers in CenturyLink Cloud
description: description:
- An Ansible module to Create, Delete, Start and Stop servers in CenturyLink Cloud. - 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: options:
additional_disks: additional_disks:
description: description:

View file

@ -14,6 +14,13 @@ module: clc_server_snapshot
short_description: Create, Delete and Restore server snapshots in CenturyLink Cloud short_description: Create, Delete and Restore server snapshots in CenturyLink Cloud
description: description:
- An Ansible module to Create, Delete and Restore server snapshots in CenturyLink Cloud. - 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: options:
server_ids: server_ids:
description: description:

View file

@ -22,6 +22,11 @@ version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud) author: Huawei Inc. (@huaweicloud)
requirements: requirements:
- keystoneauth1 >= 3.6.0 - keystoneauth1 >= 3.6.0
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -225,7 +230,8 @@ options:
type: str type: str
required: false required: false
extends_documentation_fragment: extends_documentation_fragment:
- community.general.hwc - community.general.hwc
- community.general.attributes
''' '''

View file

@ -22,6 +22,11 @@ version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud) author: Huawei Inc. (@huaweicloud)
requirements: requirements:
- keystoneauth1 >= 3.6.0 - keystoneauth1 >= 3.6.0
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -150,7 +155,8 @@ options:
type: str type: str
required: false required: false
extends_documentation_fragment: extends_documentation_fragment:
- community.general.hwc - community.general.hwc
- community.general.attributes
''' '''

View file

@ -22,6 +22,11 @@ author: Huawei Inc. (@huaweicloud)
requirements: requirements:
- requests >= 2.18.4 - requests >= 2.18.4
- keystoneauth1 >= 3.6.0 - keystoneauth1 >= 3.6.0
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -61,7 +66,8 @@ options:
type: str type: str
required: true required: true
extends_documentation_fragment: extends_documentation_fragment:
- community.general.hwc - community.general.hwc
- community.general.attributes
''' '''

View file

@ -22,6 +22,11 @@ author: Huawei Inc. (@huaweicloud)
requirements: requirements:
- requests >= 2.18.4 - requests >= 2.18.4
- keystoneauth1 >= 3.6.0 - keystoneauth1 >= 3.6.0
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -45,7 +50,8 @@ options:
type: str type: str
required: true required: true
extends_documentation_fragment: extends_documentation_fragment:
- community.general.hwc - community.general.hwc
- community.general.attributes
''' '''

View file

@ -22,6 +22,11 @@ version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud) author: Huawei Inc. (@huaweicloud)
requirements: requirements:
- keystoneauth1 >= 3.6.0 - keystoneauth1 >= 3.6.0
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -121,7 +126,8 @@ options:
type: str type: str
required: false required: false
extends_documentation_fragment: extends_documentation_fragment:
- community.general.hwc - community.general.hwc
- community.general.attributes
''' '''

View file

@ -23,6 +23,11 @@ version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud) author: Huawei Inc. (@huaweicloud)
requirements: requirements:
- keystoneauth1 >= 3.6.0 - keystoneauth1 >= 3.6.0
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -75,7 +80,8 @@ options:
type: str type: str
required: false required: false
extends_documentation_fragment: extends_documentation_fragment:
- community.general.hwc - community.general.hwc
- community.general.attributes
''' '''

View file

@ -22,6 +22,11 @@ version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud) author: Huawei Inc. (@huaweicloud)
requirements: requirements:
- keystoneauth1 >= 3.6.0 - keystoneauth1 >= 3.6.0
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -105,7 +110,8 @@ options:
elements: str elements: str
required: false required: false
extends_documentation_fragment: extends_documentation_fragment:
- community.general.hwc - community.general.hwc
- community.general.attributes
''' '''

View file

@ -19,13 +19,18 @@ description:
- vpc private ip management. - vpc private ip management.
short_description: Creates a resource of Vpc/PrivateIP in Huawei Cloud short_description: Creates a resource of Vpc/PrivateIP in Huawei Cloud
notes: notes:
- If I(id) option is provided, it takes precedence over I(subnet_id), I(ip_address) for private ip selection. - 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. - 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. - No parameter support updating. If one of option is changed, the module will create a new resource.
version_added: '0.2.0' version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud) author: Huawei Inc. (@huaweicloud)
requirements: requirements:
- keystoneauth1 >= 3.6.0 - keystoneauth1 >= 3.6.0
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -48,7 +53,8 @@ options:
type: str type: str
required: false required: false
extends_documentation_fragment: extends_documentation_fragment:
- community.general.hwc - community.general.hwc
- community.general.attributes
''' '''

View file

@ -19,13 +19,18 @@ description:
- vpc route management. - vpc route management.
short_description: Creates a resource of Vpc/Route in Huawei Cloud short_description: Creates a resource of Vpc/Route in Huawei Cloud
notes: 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. - 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. - 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. - No parameter support updating. If one of option is changed, the module will create a new resource.
version_added: '0.2.0' version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud) author: Huawei Inc. (@huaweicloud)
requirements: requirements:
- keystoneauth1 >= 3.6.0 - keystoneauth1 >= 3.6.0
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -55,7 +60,8 @@ options:
required: false required: false
default: 'peering' default: 'peering'
extends_documentation_fragment: extends_documentation_fragment:
- community.general.hwc - community.general.hwc
- community.general.attributes
''' '''

View file

@ -19,17 +19,22 @@ description:
- vpc security group management. - vpc security group management.
short_description: Creates a resource of Vpc/SecurityGroup in Huawei Cloud short_description: Creates a resource of Vpc/SecurityGroup in Huawei Cloud
notes: notes:
- If I(id) option is provided, it takes precedence over I(name), - 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(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 - 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, group selection. If more than one security group with this options exists,
execution is aborted. execution is aborted.
- No parameter support updating. If one of option is changed, the module - No parameter support updating. If one of option is changed, the module
will create a new resource. will create a new resource.
version_added: '0.2.0' version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud) author: Huawei Inc. (@huaweicloud)
requirements: requirements:
- keystoneauth1 >= 3.6.0 - keystoneauth1 >= 3.6.0
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -58,7 +63,8 @@ options:
type: str type: str
required: false required: false
extends_documentation_fragment: extends_documentation_fragment:
- community.general.hwc - community.general.hwc
- community.general.attributes
''' '''

View file

@ -19,17 +19,22 @@ description:
- vpc security group management. - vpc security group management.
short_description: Creates a resource of Vpc/SecurityGroupRule in Huawei Cloud short_description: Creates a resource of Vpc/SecurityGroupRule in Huawei Cloud
notes: notes:
- If I(id) option is provided, it takes precedence over - If I(id) option is provided, it takes precedence over
I(enterprise_project_id) for security group rule selection. I(enterprise_project_id) for security group rule selection.
- I(security_group_id) is used for security group rule selection. If more - I(security_group_id) is used for security group rule selection. If more
than one security group rule with this options exists, execution is than one security group rule with this options exists, execution is
aborted. aborted.
- No parameter support updating. If one of option is changed, the module - No parameter support updating. If one of option is changed, the module
will create a new resource. will create a new resource.
version_added: '0.2.0' version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud) author: Huawei Inc. (@huaweicloud)
requirements: requirements:
- keystoneauth1 >= 3.6.0 - keystoneauth1 >= 3.6.0
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -100,7 +105,8 @@ options:
type: str type: str
required: false required: false
extends_documentation_fragment: extends_documentation_fragment:
- community.general.hwc - community.general.hwc
- community.general.attributes
''' '''

View file

@ -22,6 +22,11 @@ version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud) author: Huawei Inc. (@huaweicloud)
requirements: requirements:
- keystoneauth1 >= 3.6.0 - keystoneauth1 >= 3.6.0
attributes:
check_mode:
support: full
diff_mode:
support: none
options: options:
state: state:
description: description:
@ -94,7 +99,8 @@ options:
elements: str elements: str
required: false required: false
extends_documentation_fragment: extends_documentation_fragment:
- community.general.hwc - community.general.hwc
- community.general.attributes
''' '''

View file

@ -19,12 +19,12 @@ author: "Hiroaki Nakamura (@hnakamur)"
extends_documentation_fragment: extends_documentation_fragment:
- community.general.attributes - community.general.attributes
attributes: attributes:
check_mode: check_mode:
support: full support: full
version_added: 6.4.0 version_added: 6.4.0
diff_mode: diff_mode:
support: full support: full
version_added: 6.4.0 version_added: 6.4.0
options: options:
name: name:
description: description:

View file

@ -16,6 +16,13 @@ short_description: Manage LXD profiles
description: description:
- Management of LXD profiles - Management of LXD profiles
author: "Hiroaki Nakamura (@hnakamur)" author: "Hiroaki Nakamura (@hnakamur)"
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
name: name:
description: description:

View file

@ -15,6 +15,13 @@ version_added: 4.8.0
description: description:
- Management of LXD projects. - Management of LXD projects.
author: "Raymond Chang (@we10710aa)" author: "Raymond Chang (@we10710aa)"
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options: options:
name: name:
description: description: