This repository contains an Ansible playbook for configuring the lovelace server for the cocosci lab. It configures the following things:
- Julia
- Python
- R
- JupyterHub
sudo adduser <username>
sudo adduser <username> jupyterhub_users
orsudo adduser <username> jupyterhub_admins
- If JupyterHub is currently running, add their username through the admin interface.
- Add them to the server mailing list.
Note that if you want to run the GPU role, which installs CUDA and cuDNN, you
will need to manually download the CUDA and cuDNN files and place them in the
roles/gpu/files
directory. The files you need are:
- cuda-repo-ubuntu1604_8.0.44-1_amd64.deb (can be downloaded from https://developer.nvidia.com/cuda-downloads )
- cudnn-8.0-linux-x64-v5.0-ga.tgz (can be downloaded from https://developer.nvidia.com/cudnn )
Run it with:
ansible-playbook site.yml -i inventory