fix pip ansible bug
This commit is contained in:
parent
dd17d29d2a
commit
ccd20dbc5f
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue