Create diskimage_builder_pip_virtualenv_python

Allow the user to pick the version of python needed for the
virtualenv.

Change-Id: I2e544f8bdd48cdbdb973dec844a2a9b56c473aae
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-05-30 15:01:14 -04:00
parent fcda618a71
commit 63c794fddb
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
4 changed files with 5 additions and 3 deletions

View File

@ -27,4 +27,5 @@ diskimage_builder_install_method: git
diskimage_builder_pip_name: diskimage-builder
# diskimage_builder_pip_extra_args:
# diskimage_builder_pip_version:
# diskimage_builder_pip_virtualenv_python:
# diskimage_builder_pip_virtualenv:

View File

@ -18,4 +18,5 @@
extra_args: "{{ diskimage_builder_pip_extra_args|default(omit) }}"
name: "{{ diskimage_builder_pip_name }}"
version: "{{ diskimage_builder_pip_version|default(omit) }}"
virtualenv_python: "{{ diskimage_builder_pip_virtualenv_python|default(omit) }}"
virtualenv: "{{ diskimage_builder_pip_virtualenv|default(omit) }}"

View File

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

View File

@ -12,7 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
---
- hosts: test
- hosts: localhost
vars:
rolename: "{{ lookup('pipe', 'pwd') | dirname | basename }}"
pre_tasks: