mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user