From 02cd8489c17556128b344c22b59eb4799ac84ebe Mon Sep 17 00:00:00 2001 From: Schlueter Date: Thu, 21 May 2015 12:23:05 -0400 Subject: [PATCH] Add Documentation --- packaging/language/easy_install.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packaging/language/easy_install.py b/packaging/language/easy_install.py index 635f1b64f3f..eaf16e6de92 100644 --- a/packaging/language/easy_install.py +++ b/packaging/language/easy_install.py @@ -70,6 +70,12 @@ options: version_added: "1.3" required: false default: null + state: + description: + - The desired state of the gem. C(latest) ensures that the latest version is installed. + required: false + choices: [present, latest] + default: present notes: - Please note that the M(easy_install) module can only install Python libraries. Thus this module is not able to remove libraries. It is @@ -83,7 +89,7 @@ author: Matt Wright EXAMPLES = ''' # Examples from Ansible Playbooks -- easy_install: name=pip +- easy_install: name=pip state=latest # Install Bottle into the specified virtualenv. - easy_install: name=bottle virtualenv=/webapps/myapp/venv