mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 10:51:24 -07:00
[PR #9395/3048d530 backport][stable-9] g*.py: normalize docs (#9414)
g*.py: normalize docs (#9395)
* g*.py: normalize docs
* Update plugins/modules/gandi_livedns.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 3048d5305d
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
87d63c5bed
commit
a66b9fc5c9
36 changed files with 633 additions and 683 deletions
|
@ -7,7 +7,7 @@
|
|||
from __future__ import absolute_import, division, print_function
|
||||
__metaclass__ = type
|
||||
|
||||
DOCUMENTATION = '''
|
||||
DOCUMENTATION = r"""
|
||||
module: gitlab_milestone
|
||||
short_description: Creates/updates/deletes GitLab Milestones belonging to project or group
|
||||
version_added: 8.3.0
|
||||
|
@ -83,10 +83,10 @@ options:
|
|||
- Milestone's description.
|
||||
type: str
|
||||
default: null
|
||||
'''
|
||||
"""
|
||||
|
||||
|
||||
EXAMPLES = '''
|
||||
EXAMPLES = r"""
|
||||
# same project's task can be executed for group
|
||||
- name: Create one milestone
|
||||
community.general.gitlab_milestone:
|
||||
|
@ -169,9 +169,9 @@ EXAMPLES = '''
|
|||
milestones:
|
||||
- title: milestone-abc123
|
||||
- title: milestone-two
|
||||
'''
|
||||
"""
|
||||
|
||||
RETURN = '''
|
||||
RETURN = r"""
|
||||
milestones:
|
||||
description: Four lists of the milestones which were added, updated, removed or exist.
|
||||
returned: success
|
||||
|
@ -201,7 +201,7 @@ milestones_obj:
|
|||
description: API object.
|
||||
returned: success
|
||||
type: dict
|
||||
'''
|
||||
"""
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.api import basic_auth_argument_spec
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue