[PR #9421/2a2a9661 backport][stable-10] [ab]*.py: normalize docs (#9427)

[ab]*.py: normalize docs (#9421)

* [ab]*.py: normalize docs

* Update plugins/modules/atomic_image.py

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 2a2a9661d9)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2024-12-27 14:52:29 +01:00 committed by GitHub
parent 3db0a11148
commit 14038511a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 1931 additions and 2013 deletions

View file

@ -9,16 +9,15 @@
from __future__ import absolute_import, division, print_function
__metaclass__ = type
DOCUMENTATION = '''
---
DOCUMENTATION = r"""
module: apt_repo
short_description: Manage APT repositories via apt-repo
short_description: Manage APT repositories using C(apt-repo)
description:
- Manages APT repositories using apt-repo tool.
- See U(https://www.altlinux.org/Apt-repo) for details about apt-repo
- Manages APT repositories using C(apt-repo) tool.
- See U(https://www.altlinux.org/Apt-repo) for details about C(apt-repo).
notes:
- This module works on ALT based distros.
- Does NOT support checkmode, due to a limitation in apt-repo tool.
- This module works on ALT based distros.
- Does NOT support checkmode, due to a limitation in C(apt-repo) tool.
extends_documentation_fragment:
- community.general.attributes
attributes:
@ -35,13 +34,13 @@ options:
state:
description:
- Indicates the desired repository state.
choices: [ absent, present ]
choices: [absent, present]
default: present
type: str
remove_others:
description:
- Remove other then added repositories
- Used if O(state=present)
- Remove other then added repositories.
- Used if O(state=present).
type: bool
default: false
update:
@ -50,10 +49,10 @@ options:
type: bool
default: false
author:
- Mikhail Gordeev (@obirvalger)
'''
- Mikhail Gordeev (@obirvalger)
"""
EXAMPLES = '''
EXAMPLES = r"""
- name: Remove all repositories
community.general.apt_repo:
repo: all
@ -70,9 +69,9 @@ EXAMPLES = '''
repo: copy:///space/ALT/Sisyphus
state: present
update: true
'''
"""
RETURN = ''' # '''
RETURN = """ # """
import os