Add a scaleway group to be able to use module_defaults (#10647)

This commit is contained in:
mscherer 2025-08-23 18:34:52 +02:00 committed by GitHub
commit 29b35022cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 158 additions and 0 deletions

View file

@ -79,6 +79,11 @@ exclusions = [
] ]
doc_fragment = "community.general.keycloak.actiongroup_keycloak" doc_fragment = "community.general.keycloak.actiongroup_keycloak"
[[sessions.extra_checks.action_groups_config]]
name = "scaleway"
pattern = "^scaleway_.*$"
doc_fragment = "community.general.scaleway.actiongroup_scaleway"
[sessions.build_import_check] [sessions.build_import_check]
run_galaxy_importer = true run_galaxy_importer = true

View file

@ -0,0 +1,2 @@
minor_changes:
- scaleway modules - add a ``scaleway`` group to use ``module_defaults`` (https://github.com/ansible-collections/community.general/pull/10647).

View file

@ -46,6 +46,36 @@ action_groups:
- keycloak_user_federation - keycloak_user_federation
- keycloak_user_rolemapping - keycloak_user_rolemapping
- keycloak_userprofile - keycloak_userprofile
scaleway:
- scaleway_compute
- scaleway_compute_private_network
- scaleway_container
- scaleway_container_info
- scaleway_container_namespace
- scaleway_container_namespace_info
- scaleway_container_registry
- scaleway_container_registry_info
- scaleway_database_backup
- scaleway_function
- scaleway_function_info
- scaleway_function_namespace
- scaleway_function_namespace_info
- scaleway_image_info
- scaleway_ip
- scaleway_ip_info
- scaleway_lb
- scaleway_organization_info
- scaleway_private_network
- scaleway_security_group
- scaleway_security_group_info
- scaleway_security_group_rule
- scaleway_server_info
- scaleway_snapshot_info
- scaleway_sshkey
- scaleway_user_data
- scaleway_volume
- scaleway_volume_info
plugin_routing: plugin_routing:
callback: callback:
actionable: actionable:

View file

@ -47,3 +47,13 @@ notes:
E(SCW_TOKEN), E(SCW_API_KEY), E(SCW_OAUTH_TOKEN) or E(SCW_API_TOKEN). E(SCW_TOKEN), E(SCW_API_KEY), E(SCW_OAUTH_TOKEN) or E(SCW_API_TOKEN).
- If one wants to use a different O(api_url) one can also set the E(SCW_API_URL) environment variable. - If one wants to use a different O(api_url) one can also set the E(SCW_API_URL) environment variable.
""" """
ACTIONGROUP_SCALEWAY = r"""
options: {}
attributes:
action_group:
description: Use C(group/community.general.scaleway) in C(module_defaults) to set defaults for this module.
support: full
membership:
- community.general.scaleway
"""

View file

@ -22,12 +22,15 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
attributes: attributes:
check_mode: check_mode:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:

View file

@ -21,12 +21,15 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
attributes: attributes:
check_mode: check_mode:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:
state: state:

View file

@ -22,6 +22,7 @@ extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.scaleway_waitable_resource - community.general.scaleway_waitable_resource
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
requirements: requirements:
- passlib[argon2] >= 1.7.4 - passlib[argon2] >= 1.7.4
@ -30,6 +31,8 @@ attributes:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:
state: state:

View file

@ -21,8 +21,13 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
- community.general.attributes.info_module - community.general.attributes.info_module
attributes:
action_group:
version_added: 11.3.0
options: options:
namespace_id: namespace_id:
type: str type: str

View file

@ -22,6 +22,7 @@ extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.scaleway_waitable_resource - community.general.scaleway_waitable_resource
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
requirements: requirements:
- passlib[argon2] >= 1.7.4 - passlib[argon2] >= 1.7.4
@ -30,6 +31,8 @@ attributes:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:
state: state:

View file

@ -21,8 +21,13 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
- community.general.attributes.info_module - community.general.attributes.info_module
attributes:
action_group:
version_added: 11.3.0
options: options:
project_id: project_id:
type: str type: str

View file

@ -22,12 +22,15 @@ extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.scaleway_waitable_resource - community.general.scaleway_waitable_resource
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
attributes: attributes:
check_mode: check_mode:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:
state: state:

View file

@ -21,8 +21,13 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
- community.general.attributes.info_module - community.general.attributes.info_module
attributes:
action_group:
version_added: 11.3.0
options: options:
project_id: project_id:
type: str type: str

View file

@ -22,11 +22,15 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
attributes: attributes:
check_mode: check_mode:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:
state: state:
description: description:

View file

@ -22,6 +22,7 @@ extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.scaleway_waitable_resource - community.general.scaleway_waitable_resource
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
requirements: requirements:
- passlib[argon2] >= 1.7.4 - passlib[argon2] >= 1.7.4
@ -30,6 +31,8 @@ attributes:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:
state: state:

View file

@ -21,8 +21,13 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
- community.general.attributes.info_module - community.general.attributes.info_module
attributes:
action_group:
version_added: 11.3.0
options: options:
namespace_id: namespace_id:
type: str type: str

View file

@ -22,6 +22,7 @@ extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.scaleway_waitable_resource - community.general.scaleway_waitable_resource
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
requirements: requirements:
- passlib[argon2] >= 1.7.4 - passlib[argon2] >= 1.7.4
@ -30,6 +31,8 @@ attributes:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:
state: state:

View file

@ -21,8 +21,13 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
- community.general.attributes.info_module - community.general.attributes.info_module
attributes:
action_group:
version_added: 11.3.0
options: options:
project_id: project_id:
type: str type: str

View file

@ -19,8 +19,13 @@ author:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
- community.general.attributes.info_module - community.general.attributes.info_module
attributes:
action_group:
version_added: 11.3.0
options: options:
region: region:
type: str type: str

View file

@ -20,12 +20,15 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
attributes: attributes:
check_mode: check_mode:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:
state: state:

View file

@ -19,8 +19,13 @@ author:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
- community.general.attributes.info_module - community.general.attributes.info_module
attributes:
action_group:
version_added: 11.3.0
options: options:
region: region:
type: str type: str

View file

@ -22,12 +22,15 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
attributes: attributes:
check_mode: check_mode:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:

View file

@ -16,6 +16,11 @@ description:
author: author:
- "Yanis Guenane (@Spredzy)" - "Yanis Guenane (@Spredzy)"
- "Remy Leone (@remyleone)" - "Remy Leone (@remyleone)"
attributes:
action_group:
version_added: 11.3.0
options: options:
api_url: api_url:
description: description:
@ -25,6 +30,7 @@ options:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
- community.general.attributes.info_module - community.general.attributes.info_module
""" """

View file

@ -21,12 +21,15 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
attributes: attributes:
check_mode: check_mode:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:
state: state:

View file

@ -21,12 +21,15 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
attributes: attributes:
check_mode: check_mode:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:
state: state:

View file

@ -16,6 +16,11 @@ description:
author: author:
- "Yanis Guenane (@Spredzy)" - "Yanis Guenane (@Spredzy)"
- "Remy Leone (@remyleone)" - "Remy Leone (@remyleone)"
attributes:
action_group:
version_added: 11.3.0
options: options:
region: region:
type: str type: str
@ -39,6 +44,7 @@ options:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
- community.general.attributes.info_module - community.general.attributes.info_module
""" """

View file

@ -21,12 +21,15 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
attributes: attributes:
check_mode: check_mode:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:
state: state:

View file

@ -19,8 +19,13 @@ author:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
- community.general.attributes.info_module - community.general.attributes.info_module
attributes:
action_group:
version_added: 11.3.0
options: options:
region: region:
type: str type: str

View file

@ -19,8 +19,13 @@ author:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
- community.general.attributes.info_module - community.general.attributes.info_module
attributes:
action_group:
version_added: 11.3.0
options: options:
region: region:
type: str type: str

View file

@ -22,12 +22,15 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
attributes: attributes:
check_mode: check_mode:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:
state: state:

View file

@ -23,12 +23,15 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
attributes: attributes:
check_mode: check_mode:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:

View file

@ -21,12 +21,15 @@ description:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
attributes: attributes:
check_mode: check_mode:
support: full support: full
diff_mode: diff_mode:
support: none support: none
action_group:
version_added: 11.3.0
options: options:
state: state:

View file

@ -19,8 +19,13 @@ author:
extends_documentation_fragment: extends_documentation_fragment:
- community.general.scaleway - community.general.scaleway
- community.general.attributes - community.general.attributes
- community.general.scaleway.actiongroup_scaleway
- community.general.attributes.info_module - community.general.attributes.info_module
attributes:
action_group:
version_added: 11.3.0
options: options:
region: region:
type: str type: str