ansible-role-jupyter/vars/main.yml

30 lines
1.0 KiB
YAML

---
jupyter_hub_system_files:
- { name: 'jupyterhub.service.j2', dest: '/etc/systemd/system/jupyterhub.service' }
- { name: 'rsyslog.jupyterhub.j2', dest: '/etc/rsyslog.d/50-juypyterhub.conf' }
- { name: 'jupyterhub.logrotate.j2', dest: '/etc/logrotate.d/jupyterhub' }
jupyter_hub_user_home: /srv/jupyterhub
jupyter_hub_venv: jupyterhub_env
jupyter_hub_base_dir: '/opt/jupyterhub'
jupyter_hub_conf_dir: '{{ jupyter_hub_base_dir }}/etc'
#jupyter_hub_data_dir: '{{ jupyter_hub_base_dir }}/data'
jupyter_hub_data_dir: '/usr/local/share/jupyterhub'
jupyter_hub_conf: '{{ jupyter_hub_conf_dir }}/jupyterhub_config.py'
jupyter_hub_venv_dir: '/opt/{{ jupyter_hub_venv }}'
jupyter_hub_logdir: /var/log/jupyter
jupyter_hub_user: jhub
py3_env_install: True
# Always install everything
py3_env_pip_pkgs:
- jupyterhub
- jupyterhub-ldapauthenticator
- notebook
- jupyterlab
py3_env_versioned_pip_pkgs:
- { pkg: 'pyspark', version: '2.4.0' }
- { pkg: 'plotly', version: '{{ jupyter_plotly_version }}' }
- { pkg: 'ipywidgets', version: '7.5.1' }