Add information on the various package states (#35882)

This commit is contained in:
Anwesha Chatterjee 2018-02-16 18:52:49 +10:00 committed by Abhijeet Kasurde
parent 1f363a6a7c
commit d2ac7ace01

View file

@ -43,6 +43,9 @@ options:
state:
description:
- 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 ]
default: present
enablerepo: