[def]*.py: normalize docs (#9401)

* [def]*.py: normalize docs

* Update plugins/modules/datadog_monitor.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 09:53:20 +13:00 committed by GitHub
parent 84655b0d0f
commit df42f29e53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 1300 additions and 1431 deletions

View file

@ -7,8 +7,7 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
DOCUMENTATION = r'''
---
DOCUMENTATION = r"""
module: dnf_config_manager
short_description: Enable or disable dnf repositories using config-manager
version_added: 8.2.0
@ -43,9 +42,9 @@ options:
seealso:
- module: ansible.builtin.dnf
- module: ansible.builtin.yum_repository
'''
"""
EXAMPLES = r'''
EXAMPLES = r"""
- name: Ensure the crb repository is enabled
community.general.dnf_config_manager:
name: crb
@ -57,9 +56,9 @@ EXAMPLES = r'''
- appstream
- zfs
state: disabled
'''
"""
RETURN = r'''
RETURN = r"""
repo_states_pre:
description: Repo IDs before action taken.
returned: success
@ -115,12 +114,12 @@ repo_states_post:
- crb-debug
- crb-source
changed_repos:
description: Repositories changed.
returned: success
type: list
elements: str
sample: [ 'crb' ]
'''
description: Repositories changed.
returned: success
type: list
elements: str
sample: ['crb']
"""
from ansible.module_utils.basic import AnsibleModule
import os