
When installing bifrost in a virtual environment the disk-image-create and vbmc commands are only available inside that environment so we need to set PATH appropriately similar to the bifrost-ironic-install role. Change-Id: I11c7ca5bd8c5851e5df5e1198c4bf71d5a5699e4
25 lines
728 B
YAML
25 lines
728 B
YAML
---
|
|
dib_os_element: "debian"
|
|
dib_init_element: "simple-init"
|
|
dib_env_vars:
|
|
http_proxy: "{{ lookup('env','http_proxy') }}"
|
|
https_proxy: "{{ lookup('env','https_proxy') }}"
|
|
DIB_INSTALLTYPE_simple_init: repo
|
|
LANG: C
|
|
LC_ALL: C
|
|
LC_MESSAGES: C
|
|
build_ramdisk: false
|
|
dib_trace: false
|
|
dib_uncompressed: false
|
|
dib_clearenv: false
|
|
dib_notmpfs: false
|
|
dib_offline: false
|
|
dib_skipbase: false
|
|
dib_packages: ""
|
|
# Settings related to installing bifrost in a virtual environment
|
|
enable_venv: false
|
|
bifrost_venv_dir: "{{ lookup('env', 'VENV') | default('/opt/stack/bifrost') }}"
|
|
bifrost_venv_env:
|
|
VIRTUAL_ENV: "{{ bifrost_venv_dir }}"
|
|
PATH: "{{ bifrost_venv_dir }}/bin:{{ ansible_env.PATH }}" # include regular path via lookup env
|