mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-02 22:39:09 -07:00
Use semantic markup (modules t-z) (#6698)
* Use semantic markup. * Fix escaping.
This commit is contained in:
parent
3b13c30112
commit
ccdcf70d69
29 changed files with 186 additions and 189 deletions
|
@ -42,22 +42,22 @@ attributes:
|
|||
options:
|
||||
name:
|
||||
description:
|
||||
- Package name C(name) or package specifier or a list of either.
|
||||
- Can include a version like C(name=1.0), C(name>3.4) or C(name<=2.7). If a version is given, C(oldpackage) is implied and zypper is allowed to
|
||||
- Package name V(name) or package specifier or a list of either.
|
||||
- Can include a version like V(name=1.0), V(name>3.4) or V(name<=2.7). If a version is given, V(oldpackage) is implied and zypper is allowed to
|
||||
update the package within the version range given.
|
||||
- You can also pass a url or a local path to a rpm file.
|
||||
- When using I(state=latest), this can be '*', which updates all installed packages.
|
||||
- When using O(state=latest), this can be '*', which updates all installed packages.
|
||||
required: true
|
||||
aliases: [ 'pkg' ]
|
||||
type: list
|
||||
elements: str
|
||||
state:
|
||||
description:
|
||||
- C(present) will make sure the package is installed.
|
||||
C(latest) will make sure the latest version of the package is installed.
|
||||
C(absent) will make sure the specified package is not installed.
|
||||
C(dist-upgrade) will make sure the latest version of all installed packages from all enabled repositories is installed.
|
||||
- When using C(dist-upgrade), I(name) should be C('*').
|
||||
- V(present) will make sure the package is installed.
|
||||
V(latest) will make sure the latest version of the package is installed.
|
||||
V(absent) will make sure the specified package is not installed.
|
||||
V(dist-upgrade) will make sure the latest version of all installed packages from all enabled repositories is installed.
|
||||
- When using V(dist-upgrade), O(name) should be V('*').
|
||||
required: false
|
||||
choices: [ present, latest, absent, dist-upgrade, installed, removed ]
|
||||
default: "present"
|
||||
|
@ -78,14 +78,14 @@ options:
|
|||
disable_gpg_check:
|
||||
description:
|
||||
- Whether to disable to GPG signature checking of the package
|
||||
signature being installed. Has an effect only if state is
|
||||
I(present) or I(latest).
|
||||
signature being installed. Has an effect only if O(state) is
|
||||
V(present) or V(latest).
|
||||
required: false
|
||||
default: false
|
||||
type: bool
|
||||
disable_recommends:
|
||||
description:
|
||||
- Corresponds to the C(--no-recommends) option for I(zypper). Default behavior (C(true)) modifies zypper's default behavior; C(false) does
|
||||
- Corresponds to the C(--no-recommends) option for I(zypper). Default behavior (V(true)) modifies zypper's default behavior; V(false) does
|
||||
install recommended packages.
|
||||
required: false
|
||||
default: true
|
||||
|
@ -146,7 +146,7 @@ options:
|
|||
version_added: '4.6.0'
|
||||
notes:
|
||||
- When used with a C(loop:) each package will be processed individually,
|
||||
it is much more efficient to pass the list directly to the I(name) option.
|
||||
it is much more efficient to pass the list directly to the O(name) option.
|
||||
# informational: requirements for nodes
|
||||
requirements:
|
||||
- "zypper >= 1.0 # included in openSUSE >= 11.1 or SUSE Linux Enterprise Server/Desktop >= 11.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue