828e1faf8b
This prevents pip rom being locked down on the hosts before the repo servers are up. The hosts that don't have openstack services donn't require pip to be locked down. Change-Id: Ib21f603e460afea12ee0f8cfb4164cde588d8a28 Closes-Bug: #1429160 |
||
---|---|---|
.. | ||
meta | ||
tasks | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst |
OpenStack install python package from git
- tags
-
openstack, pip, git, cloud, ansible
- category
-
*nix
Role for installing a python package from a git repository.
- name: Install python2 lxc
hosts: hosts
user: root
roles:
- { role: "py_from_git", tags: [ "lxc-libs" ] }
vars:
git_repo: "https://github.com/lxc/python2-lxc"
git_dest: "/opt/lxc_python2_{{ git_install_branch|replace('/', '_') }}"
git_install_branch: master