Create nodepool_pip_virtualenv_python variable

This allows the user to pick the version of python used for the
virtualenv.

Change-Id: I20c513baf06a289ca8920658384042620a52627e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-05-26 22:06:38 -04:00
parent 982b5534e3
commit d7e1665f58
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 5 additions and 3 deletions

View File

@ -63,9 +63,10 @@ nodepool_git_version: feature/zuulv3
nodepool_install_method: git
nodepool_pip_name: nodepool
#nodepool_pip_extra_args:
#nodepool_pip_version:
#nodepool_pip_virtualenv:
# nodepool_pip_extra_args:
# nodepool_pip_version:
# nodepool_pip_virtualenv_python:
# nodepool_pip_virtualenv:
# tasks/service.yaml
nodepool_file_nodepool_builder_service_group: root

View File

@ -18,4 +18,5 @@
extra_args: "{{ nodepool_pip_extra_args|default(omit) }}"
name: "{{ nodepool_pip_name }}"
version: "{{ nodepool_pip_version|default(omit) }}"
virtualenv_python: "{{ nodepool_pip_virtualenv_python|default(omit) }}"
virtualenv: "{{ nodepool_pip_virtualenv|default(omit) }}"