afb72b70b8
If a cloned repo contains local modifications, the clone task will fail. This ensures any local modifications are discarded, ensuring a successful clone. Change-Id: Ic5799fe07e15739cc11acabba803e3be47606f94 Closes-Bug: #1506590 |
||
---|---|---|
.. | ||
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