mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
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:
@@ -8,8 +8,7 @@
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
DOCUMENTATION = r'''
|
||||
---
|
||||
DOCUMENTATION = r"""
|
||||
module: scaleway_server_info
|
||||
short_description: Gather information about the Scaleway servers available
|
||||
description:
|
||||
@@ -37,9 +36,9 @@ options:
|
||||
- EMEA-FR-PAR2
|
||||
- waw1
|
||||
- EMEA-PL-WAW1
|
||||
'''
|
||||
"""
|
||||
|
||||
EXAMPLES = r'''
|
||||
EXAMPLES = r"""
|
||||
- name: Gather Scaleway servers information
|
||||
community.general.scaleway_server_info:
|
||||
region: par1
|
||||
@@ -47,14 +46,13 @@ EXAMPLES = r'''
|
||||
|
||||
- ansible.builtin.debug:
|
||||
msg: "{{ result.scaleway_server_info }}"
|
||||
'''
|
||||
"""
|
||||
|
||||
RETURN = r'''
|
||||
---
|
||||
RETURN = r"""
|
||||
scaleway_server_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
|
||||
@@ -157,7 +155,7 @@ scaleway_server_info:
|
||||
}
|
||||
}
|
||||
]
|
||||
'''
|
||||
"""
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.community.general.plugins.module_utils.scaleway import (
|
||||
|
||||
Reference in New Issue
Block a user