can Pip module install tarballs?

27 views
Skip to first unread message

Giovanni Torres

unread,
Feb 10, 2015, 2:37:29 PM2/10/15
to ansible...@googlegroups.com
Can ansible's pip module install from tarballs?  The documentation doesn't indicate that this is an option.

Giovanni Tirloni

unread,
Feb 11, 2015, 5:32:06 AM2/11/15
to ansible...@googlegroups.com
Hi Giovanni!

You can pass the full path to the tarball in the 'name' parameter.

- name: install pip package
pip:
name: /path/to/pip/tarball-0.0.1.tar.gz

If you need to transfer it to the host, check the 'copy' module.

Giovanni
Reply all
Reply to author
Forward
0 new messages