From 1f034a65734445dc619f6565093c9faaf461b046 Mon Sep 17 00:00:00 2001 From: giovtorres Date: Tue, 10 Feb 2015 14:56:16 -0500 Subject: [PATCH] Added pip example installing from local tarball --- lib/ansible/modules/packaging/language/pip.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ansible/modules/packaging/language/pip.py b/lib/ansible/modules/packaging/language/pip.py index 97576a5258b..d9ecc17af64 100644 --- a/lib/ansible/modules/packaging/language/pip.py +++ b/lib/ansible/modules/packaging/language/pip.py @@ -113,6 +113,9 @@ EXAMPLES = ''' # Install (MyApp) using one of the remote protocols (bzr+,hg+,git+,svn+). You do not have to supply '-e' option in extra_args. - pip: name='svn+http://myrepo/svn/MyApp#egg=MyApp' +# Install (MyApp) from local tarball +- pip: name='file:///path/to/MyApp.tar.gz' + # Install (Bottle) into the specified (virtualenv), inheriting none of the globally installed modules - pip: name=bottle virtualenv=/my_app/venv