Create nodepool_pip_executable variable

Allow the user to override the location of the pip executable.

Change-Id: I47a13c168abcf35eb791ac602532fcea3f0e2a1e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-05-31 12:01:36 -04:00
parent c8103941ba
commit 164d71110a
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,7 @@ nodepool_git_version: feature/zuulv3
nodepool_install_method: git
nodepool_pip_name: nodepool
# nodepool_pip_executable:
# nodepool_pip_extra_args:
# nodepool_pip_version:
# nodepool_pip_virtualenv_python:

View File

@ -15,6 +15,7 @@
- name: Install nodepool using pip.
become: yes
pip:
executable: "{{ nodepool_pip_executable|default(omit) }}"
extra_args: "{{ nodepool_pip_extra_args|default(omit) }}"
name: "{{ nodepool_pip_name }}"
version: "{{ nodepool_pip_version|default(omit) }}"