This works as expected:
# export PIP_NO_INDEX=true # export PIP_FIND_LINKS=http://xsce.activitycentral.com/wheelhouse/pip/ # pip install http://xsce.activitycentral.com/wheelhouse/pip/ajenti-0.99.34-patched5.tar.gz # pip install http://xsce.activitycentral.com/wheelhouse/pip/wondershaper-0.3.tar.gz
In ansible:
- name: install ajenti from Pypi pip: name=http://xsce.activitycentral.com/wheelhouse/pip/ajenti-0.99.34-patched5.tar.gz extra_args='--no-index --find-links=http://xsce.activitycentral.com/wheelhouse/pip/' tags: - download notify: - restart ajenti service
and also:
- name: install wondershaper ajenti plugin pip: name=http://xsce.activitycentral.com/wheelhouse/pip/ajenti-plugin-wondershaper-0.3.tar.gz extra_args='--no-index --find-links=http://xsce.activitycentral.com/wheelhouse/pip/' tags: - download notify: - restart ajenti service