Create venv_install_destination_path parent directory
Before creating the venv, it is necessary to make sure that the parent directory exists otherwise venv creation will fail. Change-Id: I241e249c919bc52fcc0220737b9d96d9608afebf
This commit is contained in:
parent
5a31e77fb4
commit
44c421b5af
@ -39,6 +39,11 @@
|
||||
when:
|
||||
- venv_rebuild | bool
|
||||
|
||||
- name: Create the venv_install_destination_path parent directory
|
||||
file:
|
||||
path: "{{ venv_install_destination_path | dirname }}"
|
||||
state: directory
|
||||
|
||||
# NOTE(odyssey4me):
|
||||
# Not using --always-copy for CentOS/SuSE due to
|
||||
# https://github.com/pypa/virtualenv/issues/565
|
||||
|
Loading…
x
Reference in New Issue
Block a user