1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-08 21:17:20 +00:00

multiple modules: fixed markups in doc (#5227)

This commit is contained in:
Alexei Znamensky 2022-09-05 01:25:34 +12:00 committed by GitHub
parent ac8b034061
commit 6e011f00f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 20 additions and 20 deletions

View file

@ -41,7 +41,7 @@ options:
description:
- Directory of your project (see --working-dir). This is required when
the command is not run globally.
- Will be ignored if C(global_command=true).
- Will be ignored if I(global_command=true).
global_command:
description:
- Runs the specified command globally.

View file

@ -25,7 +25,7 @@ options:
name:
description:
- The overlay id to install, synchronize, or uninstall.
Use 'ALL' to sync all of the installed overlays (can be used only when C(state=updated)).
Use 'ALL' to sync all of the installed overlays (can be used only when I(state=updated)).
required: true
type: str
list_url:

View file

@ -45,9 +45,9 @@ options:
force:
description:
- When removing packages, forcefully remove them, without any checks.
Same as C(extra_args="--nodeps --nodeps").
Same as I(extra_args="--nodeps --nodeps").
When combined with I(update_cache), force a refresh of all package databases.
Same as C(update_cache_extra_args="--refresh --refresh").
Same as I(update_cache_extra_args="--refresh --refresh").
default: false
type: bool
@ -115,7 +115,7 @@ options:
reason_for:
description:
- Set the install reason for C(all) packages or only for C(new) packages.
- In case of C(state=latest) already installed packages which will be updated to a newer version are not counted as C(new).
- In case of I(state=latest) already installed packages which will be updated to a newer version are not counted as C(new).
default: new
choices: [ all, new ]
type: str

View file

@ -24,10 +24,10 @@ options:
name:
description:
- Name or list of names of packages to install/remove.
- "With I(name=*), I(state: latest) will operate, but I(state: present) and I(state: absent) will be noops."
- "With I(name=*), I(state=latest) will operate, but I(state=present) and I(state=absent) will be noops."
- >
Warning: In Ansible 2.9 and earlier this module had a misfeature
where I(name=*) with I(state: latest) or I(state: present) would
where I(name=*) with I(state=latest) or I(state=present) would
install every package from every package repository, filling up
the machines disk. Avoid using them unless you are certain that
your role will only be used with newer versions.

View file

@ -27,7 +27,7 @@ options:
name:
description:
- The name of the package.
- When using C(state=latest), this can be C('*'), which updates all installed packages managed by pkgutil.
- When using I(state=latest), this can be C('*'), which updates all installed packages managed by pkgutil.
type: list
required: true
elements: str

View file

@ -39,7 +39,7 @@ options:
description:
- Whether to cast, dispel or rebuild a package
- state C(cast) is an equivalent of C(present), not C(latest)
- state C(latest) always triggers C(update_cache=true)
- state C(latest) always triggers I(update_cache=true)
- state C(rebuild) implies cast of all specified spells, not only
those existed before
choices: ["present", "latest", "absent", "cast", "dispelled", "rebuild"]

View file

@ -39,13 +39,13 @@ options:
src:
description:
- Specifies the location to install the package from. Required when C(state=present).
- Specifies the location to install the package from. Required when I(state=present).
- "Can be any path acceptable to the C(pkgadd) command's C(-d) option. e.g.: C(somefile.pkg), C(/dir/with/pkgs), C(http:/server/mypkgs.pkg)."
- If using a file or directory, they must already be accessible by the host. See the M(ansible.builtin.copy) module for a way to get them there.
type: str
proxy:
description:
- HTTP[s] proxy to be used if C(src) is a URL.
- HTTP[s] proxy to be used if I(src) is a URL.
type: str
response_file:
description:

View file

@ -38,7 +38,7 @@ options:
- 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
update the package within the version range given.
- You can also pass a url or a local path to a rpm file.
- When using state=latest, this can be '*', which updates all installed packages.
- When using I(state=latest), this can be '*', which updates all installed packages.
required: true
aliases: [ 'pkg' ]
type: list