[PR #9390/cea6eeef backport][stable-10] l*.py: normalize docs (#9402)

l*.py: normalize docs (#9390)

(cherry picked from commit cea6eeef37)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2024-12-26 09:25:49 +01:00 committed by GitHub
commit 92a07f1794
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 1194 additions and 1350 deletions

View file

@ -9,12 +9,11 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
DOCUMENTATION = '''
---
DOCUMENTATION = r"""
module: logentries_msg
short_description: Send a message to logentries
description:
- Send a message to logentries
- Send a message to logentries.
extends_documentation_fragment:
- community.general.attributes
attributes:
@ -36,24 +35,24 @@ options:
api:
type: str
description:
- API endpoint
- API endpoint.
default: data.logentries.com
port:
type: int
description:
- API endpoint port
- API endpoint port.
default: 80
author: "Jimmy Tang (@jcftang) <jimmy_tang@rapid7.com>"
'''
"""
RETURN = '''# '''
RETURN = """# """
EXAMPLES = '''
EXAMPLES = r"""
- name: Send a message to logentries
community.general.logentries_msg:
token=00000000-0000-0000-0000-000000000000
msg="{{ ansible_hostname }}"
'''
token: 00000000-0000-0000-0000-000000000000
msg: "{{ ansible_hostname }}"
"""
import socket