Fix kolla bifrost image (again)
This time it's failing for ubuntu. I think Ubuntu aliases echo to 'echo -e', meaning the -e that was added in https://review.openstack.org/607158 becomes part of the echoed message. Change-Id: I444b348387b735bc475cfef27b110feccaa7d9d4
This commit is contained in:
parent
6ed567abc0
commit
580001d66c
|
@ -17,7 +17,7 @@
|
|||
when: lookup('env', 'VENV') | length > 0
|
||||
|
||||
- name: "Retrieve venv python path"
|
||||
shell: "echo -e \"import sys\\nprint(':'.join(sys.path))\" | {{ ansible_python.get('executable', '/usr/bin/python').split('/')[-1] }}"
|
||||
shell: "/bin/echo -e \"import sys\\nprint(':'.join(sys.path))\" | {{ ansible_python.get('executable', '/usr/bin/python').split('/')[-1] }}"
|
||||
environment: "{{ bifrost_venv_env | default({}) }}"
|
||||
register: venv_pythonpath_result
|
||||
when: enable_venv
|
||||
|
|
Loading…
Reference in New Issue