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>
This commit is contained in:
Alexei Znamensky 2024-12-26 09:16:10 +13:00 committed by GitHub
parent 825e0ee377
commit 70b62ed745
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 336 additions and 382 deletions

View file

@ -12,16 +12,15 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
DOCUMENTATION = '''
---
DOCUMENTATION = r"""
module: scaleway_volume
short_description: Scaleway volumes management module
author: Henryk Konsek (@hekonsek)
description:
- "This module manages volumes on Scaleway account U(https://developer.scaleway.com)."
- This module manages volumes on Scaleway account U(https://developer.scaleway.com).
extends_documentation_fragment:
- community.general.scaleway
- community.general.attributes
- community.general.scaleway
- community.general.attributes
attributes:
check_mode:
@ -74,9 +73,9 @@ options:
type: str
description:
- Type of the volume (for example 'l_ssd').
'''
"""
EXAMPLES = '''
EXAMPLES = r"""
- name: Create 10GB volume
community.general.scaleway_volume:
name: my-volume
@ -92,9 +91,9 @@ EXAMPLES = '''
name: my-volume
state: absent
region: par1
'''
"""
RETURN = '''
RETURN = r"""
data:
description: This is only present when O(state=present).
returned: when O(state=present)
@ -110,7 +109,7 @@ data:
"volume_type": "l_ssd"
}
}
'''
"""
from ansible_collections.community.general.plugins.module_utils.scaleway import SCALEWAY_LOCATION, scaleway_argument_spec, Scaleway
from ansible.module_utils.basic import AnsibleModule