mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-22 18:31:25 -07:00
[PR #9388/6aadcc72 backport][stable-10] [mem ... n]*.py: normalize docs (#9406)
[mem ... n]*.py: normalize docs (#9388)
* [mem ... n]*.py: normalize docs
* Update plugins/modules/netcup_dns.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* netcup_dns: change type of RV(records)
From complex to list of dicts.
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 6aadcc72d1
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
03f3b74934
commit
7732d64abb
25 changed files with 2245 additions and 2342 deletions
|
@ -9,14 +9,13 @@ from __future__ import absolute_import, division, print_function
|
|||
__metaclass__ = type
|
||||
|
||||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
DOCUMENTATION = r"""
|
||||
module: monit
|
||||
short_description: Manage the state of a program monitored via Monit
|
||||
short_description: Manage the state of a program monitored using Monit
|
||||
description:
|
||||
- Manage the state of a program monitored via Monit.
|
||||
- Manage the state of a program monitored using Monit.
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
|
@ -32,26 +31,25 @@ options:
|
|||
description:
|
||||
- The state of service.
|
||||
required: true
|
||||
choices: [ "present", "started", "stopped", "restarted", "monitored", "unmonitored", "reloaded" ]
|
||||
choices: ["present", "started", "stopped", "restarted", "monitored", "unmonitored", "reloaded"]
|
||||
type: str
|
||||
timeout:
|
||||
description:
|
||||
- If there are pending actions for the service monitored by monit, then Ansible will check
|
||||
for up to this many seconds to verify the requested action has been performed.
|
||||
Ansible will sleep for five seconds between each check.
|
||||
- If there are pending actions for the service monitored by monit, then Ansible will check for up to this many seconds to verify the requested
|
||||
action has been performed. Ansible will sleep for five seconds between each check.
|
||||
default: 300
|
||||
type: int
|
||||
author:
|
||||
- Darryl Stoflet (@dstoflet)
|
||||
- Simon Kelly (@snopoke)
|
||||
'''
|
||||
- Darryl Stoflet (@dstoflet)
|
||||
- Simon Kelly (@snopoke)
|
||||
"""
|
||||
|
||||
EXAMPLES = '''
|
||||
EXAMPLES = r"""
|
||||
- name: Manage the state of program httpd to be in started state
|
||||
community.general.monit:
|
||||
name: httpd
|
||||
state: started
|
||||
'''
|
||||
"""
|
||||
|
||||
import time
|
||||
import re
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue