1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
iiab/roles/jupyter/tasks/install.yml

18 lines
454 B
YAML
Raw Normal View History

2021-03-08 01:57:10 +00:00
- name: Make the directories to hold notebooks
file:
state: directory
path: '{{ notebook_dir }}'
- name: Use pip to install into a virtual environment
pip:
name:
- jupyterlab
#- jupyter_vim
virtualenv: "{{ jupyter_venv }}" # /opt/iiab/jupyter
virtualenv_site_packages: no
virtualenv_command: /usr/bin/virtualenv
virtualenv_python: python3
extra_args: "--no-cache-dir"
when: internet_available