mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-21 18:01:26 -07:00
[PR #9353/70b62ed7 backport][stable-10] s[a-c]*: normalize docs (#9376)
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:
parent
a5c448d6e8
commit
899fcb8749
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_function_namespace
|
||||
short_description: Scaleway Function namespace management
|
||||
version_added: 6.0.0
|
||||
|
@ -84,9 +83,9 @@ options:
|
|||
- Injected in functions at runtime.
|
||||
type: dict
|
||||
default: {}
|
||||
'''
|
||||
"""
|
||||
|
||||
EXAMPLES = '''
|
||||
EXAMPLES = r"""
|
||||
- name: Create a function namespace
|
||||
community.general.scaleway_function_namespace:
|
||||
project_id: '{{ scw_project }}'
|
||||
|
@ -105,9 +104,9 @@ EXAMPLES = '''
|
|||
state: absent
|
||||
region: fr-par
|
||||
name: my-awesome-function-namespace
|
||||
'''
|
||||
"""
|
||||
|
||||
RETURN = '''
|
||||
RETURN = r"""
|
||||
function_namespace:
|
||||
description: The function namespace information.
|
||||
returned: when O(state=present)
|
||||
|
@ -116,7 +115,7 @@ function_namespace:
|
|||
description: ""
|
||||
environment_variables:
|
||||
MY_VAR: my_value
|
||||
error_message: null
|
||||
error_message:
|
||||
id: 531a1fd7-98d2-4a74-ad77-d398324304b8
|
||||
name: my-awesome-function-namespace
|
||||
organization_id: e04e3bdc-015c-4514-afde-9389e9be24b0
|
||||
|
@ -128,7 +127,7 @@ function_namespace:
|
|||
- key: MY_SECRET_VAR
|
||||
value: $argon2id$v=19$m=65536,t=1,p=2$tb6UwSPWx/rH5Vyxt9Ujfw$5ZlvaIjWwNDPxD9Rdght3NarJz4IETKjpvAU3mMSmFg
|
||||
status: pending
|
||||
'''
|
||||
"""
|
||||
|
||||
from copy import deepcopy
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue