forked from ISTI-ansible-roles/ansible-roles
Create a directory that the conda installer fails to create by itself.
This commit is contained in:
parent
8bd1a6c108
commit
3ba1068059
|
@ -20,7 +20,7 @@
|
|||
|
||||
- block:
|
||||
- name: Create a conda environment
|
||||
shell: export PATH={{ conda_install_prefix }}/bin:{{ ansible_env.PATH }} ; {{ conda_install_prefix }}/bin/conda create -y -n {{ item.env_name }} {{ item.env_opts }}
|
||||
shell: export PATH={{ conda_install_prefix }}/bin:{{ ansible_env.PATH }} ; mkdir -p {{ conda_user_home }}/.conda/pkgs/ ; chown -R {{ conda_user }} {{ conda_user_home }}/.conda ; {{ conda_install_prefix }}/bin/conda create -y -n {{ item.env_name }} {{ item.env_opts }}
|
||||
environment:
|
||||
PATH: 'PATH={{ conda_install_prefix }}/bin:{{ ansible_env.PATH }}'
|
||||
args:
|
||||
|
|
Loading…
Reference in New Issue