Create shade_pip_virtualenv_python

This allows the user to choose which version of python to use in the
virtualenv.

Fix testing to use ansible_connection=ssh

Change-Id: Id2505dfd949e72f603f3db692a7dbc59912b1b59
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-05-30 15:10:54 -04:00
parent e5edeea2b7
commit 6cdba6a985
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
4 changed files with 5 additions and 2 deletions

View File

@ -22,4 +22,5 @@ shade_install_method: git
shade_pip_name: shade
# shade_pip_extra_args:
# shade_pip_version:
# shade_pip_virtualenv_python:
# shade_pip_virtualenv:

View File

@ -24,4 +24,5 @@
pip:
extra_args: "{{ shade_pip_extra_args|default(omit) }}"
name: "file://{{ shade_git_dest }}"
virtualenv_python: "{{ shade_pip_virtualenv_python|default(omit) }}"
virtualenv: "{{ shade_pip_virtualenv|default(omit) }}"

View File

@ -18,4 +18,5 @@
extra_args: "{{ shade_pip_extra_args|default(omit) }}"
name: "{{ shade_pip_name }}"
version: "{{ shade_pip_version|default(omit) }}"
virtualenv_python: "{{ shade_pip_virtualenv_python|default(omit) }}"
virtualenv: "{{ shade_pip_virtualenv|default(omit) }}"

View File

@ -1,2 +1,2 @@
[test]
test01 ansible_host=127.0.0.2
[all]
localhost ansible_connection=ssh