fix pip ansible bug

This commit is contained in:
xenia 2021-06-16 03:45:06 -04:00
parent dd17d29d2a
commit ccd20dbc5f
1 changed files with 4 additions and 3 deletions

View File

@ -25,7 +25,10 @@
- sqlalchemy
- toolz
- xxhash
- tqdm
- angr
- h5py
- zarr
scheduler_packages:
- bokeh
- jupyter-server-proxy
@ -116,13 +119,11 @@
state: directory
- name: install python packages
vars:
python_packages: "{% if leylines_is_server %}{{ base_packages + scheduler_packages }}{% else %}{{ base_packages + worker_packages }}{% endif %}"
pip:
virtualenv: /home/{{ ansible_user }}/dask/dask-venv
virtualenv_command: python3 -m venv
state: latest
name: "{{ python_packages }}"
name: "{% if leylines_is_server == 'yes' %}{{ base_packages + scheduler_packages }}{% else %}{{ base_packages + worker_packages }}{% endif %}"
# - name: create alternate venv for angr
# when: leylines_is_server == "no"