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:
parent
fcda618a71
commit
63c794fddb
@ -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:
|
||||
|
@ -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) }}"
|
||||
|
@ -1,2 +1,2 @@
|
||||
[test]
|
||||
test01 ansible_host=127.0.0.2
|
||||
[all]
|
||||
localhost ansible_connection=ssh
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user