1
0
Fork 0
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:
Martin 2021-06-27 18:47:11 +02:00 committed by GitHub
parent 0a9cf38118
commit debb15efbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: