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:
Mark Goddard 2018-10-03 15:15:20 +01:00
parent 6ed567abc0
commit 580001d66c
1 changed files with 1 additions and 1 deletions

View File

@ -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