mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 02:41:25 -07:00
ma*.py: normalize docs (#9389)
* ma*.py: normalize docs * Update plugins/modules/matrix.py Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
a99f72fc36
commit
a9fca56374
17 changed files with 596 additions and 639 deletions
|
@ -8,8 +8,7 @@
|
|||
from __future__ import absolute_import, division, print_function
|
||||
__metaclass__ = type
|
||||
|
||||
DOCUMENTATION = r'''
|
||||
---
|
||||
DOCUMENTATION = r"""
|
||||
module: make
|
||||
short_description: Run targets in a Makefile
|
||||
requirements:
|
||||
|
@ -65,9 +64,9 @@ options:
|
|||
type: list
|
||||
elements: str
|
||||
version_added: 7.2.0
|
||||
'''
|
||||
"""
|
||||
|
||||
EXAMPLES = r'''
|
||||
EXAMPLES = r"""
|
||||
- name: Build the default target
|
||||
community.general.make:
|
||||
chdir: /home/ubuntu/cool-project
|
||||
|
@ -103,9 +102,9 @@ EXAMPLES = r'''
|
|||
# The following adds TARGET=arm64 TARGET_ARCH=aarch64 to the command line:
|
||||
TARGET: arm64
|
||||
TARGET_ARCH: aarch64
|
||||
'''
|
||||
"""
|
||||
|
||||
RETURN = r'''
|
||||
RETURN = r"""
|
||||
chdir:
|
||||
description:
|
||||
- The value of the module parameter O(chdir).
|
||||
|
@ -143,7 +142,7 @@ targets:
|
|||
type: str
|
||||
returned: success
|
||||
version_added: 7.2.0
|
||||
'''
|
||||
"""
|
||||
|
||||
from ansible.module_utils.six import iteritems
|
||||
from ansible.module_utils.six.moves import shlex_quote
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue