[PR #9353/70b62ed7 backport][stable-9] s[a-c]*: normalize docs (#9375)

s[a-c]*: normalize docs (#9353)

* s[a-c]*: normalize docs

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 70b62ed745)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2024-12-25 21:41:01 +01:00 committed by GitHub
parent 595c105a29
commit 1ccfc3b821
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 336 additions and 382 deletions

View file

@ -8,8 +8,7 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
DOCUMENTATION = r'''
---
DOCUMENTATION = r"""
module: scaleway_security_group_info
short_description: Gather information about the Scaleway security groups available
description:
@ -36,10 +35,9 @@ extends_documentation_fragment:
- community.general.scaleway
- community.general.attributes
- community.general.attributes.info_module
"""
'''
EXAMPLES = r'''
EXAMPLES = r"""
- name: Gather Scaleway security groups information
community.general.scaleway_security_group_info:
region: par1
@ -47,14 +45,13 @@ EXAMPLES = r'''
- ansible.builtin.debug:
msg: "{{ result.scaleway_security_group_info }}"
'''
"""
RETURN = r'''
---
RETURN = r"""
scaleway_security_group_info:
description:
- Response from Scaleway API.
- "For more details please refer to: U(https://developers.scaleway.com/en/products/instance/api/)."
- 'For more details please refer to: U(https://developers.scaleway.com/en/products/instance/api/).'
returned: success
type: list
elements: dict
@ -75,7 +72,7 @@ scaleway_security_group_info:
]
}
]
'''
"""
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.community.general.plugins.module_utils.scaleway import (