Skip to content

Commit 41a7a01

Browse files
committed
Using venv module explicitly, else it can fail with
" msg: 'Failed to find required executable "virtualenv" in paths: /home/stack/.local/bin:/home/stack/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin'"
1 parent 904716a commit 41a7a01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

etc/kayobe/ansible/octavia-amphora-image-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
name: diskimage-builder
6969
extra_args: "{% if amphora_dib_upper_constraints_file %}-c {{ amphora_dib_upper_constraints_file }}{% endif %}"
7070
virtualenv: "{{ venv_path }}"
71+
virtualenv_command: "python3.{{ ansible_facts.python.version.minor }} -m venv"
7172

7273
- name: Create build log file (/var/log/octavia-amphora-image-build.log)
7374
file:

0 commit comments

Comments
 (0)