mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-06 00:09:10 -07:00
[PR #9354/97514612 backport][stable-10] r*: normalize docs (#9377)
r*: normalize docs (#9354)
* r*: normalize docs
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* Apply suggestions from code review
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 9751461295
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
899fcb8749
commit
f6fa7fb273
22 changed files with 1858 additions and 1947 deletions
|
@ -9,17 +9,16 @@ from __future__ import absolute_import, division, print_function
|
|||
__metaclass__ = type
|
||||
|
||||
|
||||
DOCUMENTATION = r'''
|
||||
---
|
||||
DOCUMENTATION = r"""
|
||||
module: redis_info
|
||||
short_description: Gather information about Redis servers
|
||||
version_added: '0.2.0'
|
||||
description:
|
||||
- Gathers information and statistics about Redis servers.
|
||||
- Gathers information and statistics about Redis servers.
|
||||
extends_documentation_fragment:
|
||||
- community.general.redis
|
||||
- community.general.attributes
|
||||
- community.general.attributes.info_module
|
||||
- community.general.redis
|
||||
- community.general.attributes
|
||||
- community.general.attributes.info_module
|
||||
options:
|
||||
login_user:
|
||||
version_added: 7.5.0
|
||||
|
@ -36,11 +35,11 @@ options:
|
|||
type: bool
|
||||
version_added: 9.1.0
|
||||
seealso:
|
||||
- module: community.general.redis
|
||||
- module: community.general.redis
|
||||
author: "Pavlo Bashynskyi (@levonet)"
|
||||
'''
|
||||
"""
|
||||
|
||||
EXAMPLES = r'''
|
||||
EXAMPLES = r"""
|
||||
- name: Get server information
|
||||
community.general.redis_info:
|
||||
register: result
|
||||
|
@ -57,9 +56,9 @@ EXAMPLES = r'''
|
|||
- name: Print server cluster information
|
||||
ansible.builtin.debug:
|
||||
var: result.cluster_info
|
||||
'''
|
||||
"""
|
||||
|
||||
RETURN = r'''
|
||||
RETURN = r"""
|
||||
info:
|
||||
description: The default set of server information sections U(https://redis.io/commands/info).
|
||||
returned: success
|
||||
|
@ -211,7 +210,7 @@ cluster:
|
|||
"cluster_stats_messages_received": 1483968,
|
||||
"total_cluster_links_buffer_limit_exceeded": 0
|
||||
}
|
||||
'''
|
||||
"""
|
||||
|
||||
import traceback
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue