mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Add information on the various package states (#35882)
This commit is contained in:
parent
1f363a6a7c
commit
d2ac7ace01
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,9 @@ options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Whether to install (C(present) or C(installed), C(latest)), or remove (C(absent) or C(removed)) a 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's not of the latest available version.
|
||||||
|
- C(absent) and C(removed) will remove the specified package.
|
||||||
choices: [ absent, installed, latest, present, removed ]
|
choices: [ absent, installed, latest, present, removed ]
|
||||||
default: present
|
default: present
|
||||||
enablerepo:
|
enablerepo:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue