[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,59 +9,55 @@
from __future__ import absolute_import, division, print_function
__metaclass__ = type
DOCUMENTATION = '''
---
DOCUMENTATION = r"""
module: bzr
author:
- André Paramés (@andreparames)
- André Paramés (@andreparames)
short_description: Deploy software (or files) from bzr branches
description:
- Manage C(bzr) branches to deploy files or software.
- Manage C(bzr) branches to deploy files or software.
extends_documentation_fragment:
- community.general.attributes
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
name:
description:
- SSH or HTTP protocol address of the parent branch.
aliases: [ parent ]
required: true
type: str
dest:
description:
- Absolute path of where the branch should be cloned to.
required: true
type: path
version:
description:
- What version of the branch to clone. This can be the
bzr revno or revid.
default: head
type: str
force:
description:
- If V(true), any modified files in the working
tree will be discarded.
type: bool
default: false
executable:
description:
- Path to bzr executable to use. If not supplied,
the normal mechanism for resolving binary paths will be used.
type: str
'''
name:
description:
- SSH or HTTP protocol address of the parent branch.
aliases: [parent]
required: true
type: str
dest:
description:
- Absolute path of where the branch should be cloned to.
required: true
type: path
version:
description:
- What version of the branch to clone. This can be the bzr revno or revid.
default: head
type: str
force:
description:
- If V(true), any modified files in the working tree will be discarded.
type: bool
default: false
executable:
description:
- Path to bzr executable to use. If not supplied, the normal mechanism for resolving binary paths will be used.
type: str
"""
EXAMPLES = '''
EXAMPLES = r"""
- name: Checkout
community.general.bzr:
name: bzr+ssh://foosball.example.org/path/to/branch
dest: /srv/checkout
version: 22
'''
"""
import os
import re