fix pip ansible bug
This commit is contained in:
parent
dd17d29d2a
commit
ccd20dbc5f
|
@ -25,7 +25,10 @@
|
||||||
- sqlalchemy
|
- sqlalchemy
|
||||||
- toolz
|
- toolz
|
||||||
- xxhash
|
- xxhash
|
||||||
|
- tqdm
|
||||||
- angr
|
- angr
|
||||||
|
- h5py
|
||||||
|
- zarr
|
||||||
scheduler_packages:
|
scheduler_packages:
|
||||||
- bokeh
|
- bokeh
|
||||||
- jupyter-server-proxy
|
- jupyter-server-proxy
|
||||||
|
@ -116,13 +119,11 @@
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- name: install python packages
|
- name: install python packages
|
||||||
vars:
|
|
||||||
python_packages: "{% if leylines_is_server %}{{ base_packages + scheduler_packages }}{% else %}{{ base_packages + worker_packages }}{% endif %}"
|
|
||||||
pip:
|
pip:
|
||||||
virtualenv: /home/{{ ansible_user }}/dask/dask-venv
|
virtualenv: /home/{{ ansible_user }}/dask/dask-venv
|
||||||
virtualenv_command: python3 -m venv
|
virtualenv_command: python3 -m venv
|
||||||
state: latest
|
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
|
# - name: create alternate venv for angr
|
||||||
# when: leylines_is_server == "no"
|
# when: leylines_is_server == "no"
|
||||||
|
|
Loading…
Reference in New Issue