Add information on the various package states (#35882)

pull/36314/head
Anwesha Chatterjee 7 years ago committed by Abhijeet Kasurde
parent 1f363a6a7c
commit d2ac7ace01

@ -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…
Cancel
Save