mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
pacman: Descriptive state documentation (#2894)
* pacman: Descriptive state documentation * Update plugins/modules/packaging/os/pacman.py Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Martin Rys <martin@rys.pw> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
0a9cf38118
commit
debb15efbe
1 changed files with 5 additions and 2 deletions
|
@ -30,9 +30,12 @@ options:
|
||||||
|
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Desired state of the package.
|
- Whether to install (C(present) or C(installed), C(latest)), or remove (C(absent) or C(removed)) a package.
|
||||||
|
- C(present) and C(installed) will simply ensure that a desired package is installed.
|
||||||
|
- C(latest) will update the specified package if it is not of the latest available version.
|
||||||
|
- C(absent) and C(removed) will remove the specified package.
|
||||||
default: present
|
default: present
|
||||||
choices: [ absent, latest, present, installed, removed ]
|
choices: [ absent, installed, latest, present, removed ]
|
||||||
type: str
|
type: str
|
||||||
|
|
||||||
force:
|
force:
|
||||||
|
|
Loading…
Reference in a new issue