mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 02:41:25 -07: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:
parent
825e0ee377
commit
70b62ed745
29 changed files with 336 additions and 382 deletions
|
@ -11,8 +11,7 @@ from __future__ import absolute_import, division, print_function
|
|||
|
||||
__metaclass__ = type
|
||||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
DOCUMENTATION = r"""
|
||||
module: scaleway_container_namespace_info
|
||||
short_description: Retrieve information on Scaleway Container namespace
|
||||
version_added: 6.0.0
|
||||
|
@ -46,18 +45,18 @@ options:
|
|||
description:
|
||||
- Name of the container namespace.
|
||||
required: true
|
||||
'''
|
||||
"""
|
||||
|
||||
EXAMPLES = '''
|
||||
EXAMPLES = r"""
|
||||
- name: Get a container namespace info
|
||||
community.general.scaleway_container_namespace_info:
|
||||
project_id: '{{ scw_project }}'
|
||||
region: fr-par
|
||||
name: my-awesome-container-namespace
|
||||
register: container_namespace_info_task
|
||||
'''
|
||||
"""
|
||||
|
||||
RETURN = '''
|
||||
RETURN = r"""
|
||||
container_namespace:
|
||||
description: The container namespace information.
|
||||
returned: always
|
||||
|
@ -66,7 +65,7 @@ container_namespace:
|
|||
description: ""
|
||||
environment_variables:
|
||||
MY_VAR: my_value
|
||||
error_message: null
|
||||
error_message:
|
||||
id: 531a1fd7-98d2-4a74-ad77-d398324304b8
|
||||
name: my-awesome-container-namespace
|
||||
organization_id: e04e3bdc-015c-4514-afde-9389e9be24b0
|
||||
|
@ -78,7 +77,7 @@ container_namespace:
|
|||
- key: MY_SECRET_VAR
|
||||
value: $argon2id$v=19$m=65536,t=1,p=2$tb6UwSPWx/rH5Vyxt9Ujfw$5ZlvaIjWwNDPxD9Rdght3NarJz4IETKjpvAU3mMSmFg
|
||||
status: pending
|
||||
'''
|
||||
"""
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.scaleway import (
|
||||
SCALEWAY_REGIONS, scaleway_argument_spec, Scaleway,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue