mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
[PR #9351/4b23e5ec backport][stable-9] s[o-y]*: normalize docs (#9368)
s[o-y]*: normalize docs (#9351)
* s[o-y]*: normalize docs
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/spectrum_model_attrs.py
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 4b23e5ecff
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
e120c64a21
commit
595c105a29
20 changed files with 994 additions and 1174 deletions
|
@ -12,41 +12,40 @@ from __future__ import absolute_import, division, print_function
|
|||
__metaclass__ = type
|
||||
|
||||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
DOCUMENTATION = r"""
|
||||
module: swdepot
|
||||
short_description: Manage packages with swdepot package manager (HP-UX)
|
||||
description:
|
||||
- Will install, upgrade and remove packages with swdepot package manager (HP-UX)
|
||||
- Will install, upgrade and remove packages with swdepot package manager (HP-UX).
|
||||
notes: []
|
||||
author: "Raul Melo (@melodous)"
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
check_mode:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
- package name.
|
||||
aliases: [pkg]
|
||||
required: true
|
||||
type: str
|
||||
state:
|
||||
description:
|
||||
- whether to install (V(present), V(latest)), or remove (V(absent)) a package.
|
||||
required: true
|
||||
choices: [ 'present', 'latest', 'absent']
|
||||
type: str
|
||||
depot:
|
||||
description:
|
||||
- The source repository from which install or upgrade a package.
|
||||
type: str
|
||||
'''
|
||||
name:
|
||||
description:
|
||||
- Package name.
|
||||
aliases: [pkg]
|
||||
required: true
|
||||
type: str
|
||||
state:
|
||||
description:
|
||||
- Whether to install (V(present), V(latest)), or remove (V(absent)) a package.
|
||||
required: true
|
||||
choices: ['present', 'latest', 'absent']
|
||||
type: str
|
||||
depot:
|
||||
description:
|
||||
- The source repository from which install or upgrade a package.
|
||||
type: str
|
||||
"""
|
||||
|
||||
EXAMPLES = '''
|
||||
EXAMPLES = r"""
|
||||
- name: Install a package
|
||||
community.general.swdepot:
|
||||
name: unzip-6.0
|
||||
|
@ -63,7 +62,7 @@ EXAMPLES = '''
|
|||
community.general.swdepot:
|
||||
name: unzip
|
||||
state: absent
|
||||
'''
|
||||
"""
|
||||
|
||||
import re
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue