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:
Alexei Znamensky 2024-12-27 01:40:55 +13:00 committed by GitHub
parent a99f72fc36
commit a9fca56374
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 596 additions and 639 deletions

View file

@ -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