mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-22 10:21:25 -07:00
[PR #9393/84655b0d backport][stable-9] i[b-n]*.py: normalize docs (#9411)
i[b-n]*.py: normalize docs (#9393)
* i[b-n]*.py: normalize docs
* Update plugins/modules/ilo_redfish_command.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 84655b0d0f
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
a66b9fc5c9
commit
4dd76284e9
25 changed files with 1036 additions and 1100 deletions
|
@ -8,14 +8,13 @@
|
|||
from __future__ import absolute_import, division, print_function
|
||||
__metaclass__ = type
|
||||
|
||||
DOCUMENTATION = r'''
|
||||
---
|
||||
DOCUMENTATION = r"""
|
||||
module: installp
|
||||
author:
|
||||
- Kairo Araujo (@kairoaraujo)
|
||||
short_description: Manage packages on AIX
|
||||
description:
|
||||
- Manage packages using 'installp' on AIX
|
||||
- Manage packages using 'installp' on AIX.
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
attributes:
|
||||
|
@ -26,32 +25,32 @@ attributes:
|
|||
options:
|
||||
accept_license:
|
||||
description:
|
||||
- Whether to accept the license for the package(s).
|
||||
- Whether to accept the license for the package(s).
|
||||
type: bool
|
||||
default: false
|
||||
name:
|
||||
description:
|
||||
- One or more packages to install or remove.
|
||||
- Use V(all) to install all packages available on informed O(repository_path).
|
||||
- One or more packages to install or remove.
|
||||
- Use V(all) to install all packages available on informed O(repository_path).
|
||||
type: list
|
||||
elements: str
|
||||
required: true
|
||||
aliases: [ pkg ]
|
||||
aliases: [pkg]
|
||||
repository_path:
|
||||
description:
|
||||
- Path with AIX packages (required to install).
|
||||
- Path with AIX packages (required to install).
|
||||
type: path
|
||||
state:
|
||||
description:
|
||||
- Whether the package needs to be present on or absent from the system.
|
||||
- Whether the package needs to be present on or absent from the system.
|
||||
type: str
|
||||
choices: [ absent, present ]
|
||||
choices: [absent, present]
|
||||
default: present
|
||||
notes:
|
||||
- If the package is already installed, even the package/fileset is new, the module will not install it.
|
||||
'''
|
||||
- If the package is already installed, even the package/fileset is new, the module will not install it.
|
||||
"""
|
||||
|
||||
EXAMPLES = r'''
|
||||
EXAMPLES = r"""
|
||||
- name: Install package foo
|
||||
community.general.installp:
|
||||
name: foo
|
||||
|
@ -84,9 +83,9 @@ EXAMPLES = r'''
|
|||
community.general.installp:
|
||||
name: bos.sysmgt.nim.master
|
||||
state: absent
|
||||
'''
|
||||
"""
|
||||
|
||||
RETURN = r''' # '''
|
||||
RETURN = r""" # """
|
||||
|
||||
import os
|
||||
import re
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue