mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
l*.py: normalize docs (#9390)
This commit is contained in:
parent
6b7ea3443d
commit
cea6eeef37
25 changed files with 1194 additions and 1350 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue