Skip to content

Commit

Permalink
updated jupyterlab
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Jan 7, 2025
1 parent ca4427b commit 851cc76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
19 changes: 2 additions & 17 deletions jupyterlab/jupyterlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,9 @@
name: geerlingguy.swap
vars:
swap_file_size_mb: "2024"
- name: Download Miniconda
get_url:
url: https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
dest: /tmp/miniconda.sh

- name: Install Miniconda
command: bash /tmp/miniconda.sh -b -p {{jupyterlab_vars.CONDA_DIR}}
args:
creates: "{{jupyterlab_vars.CONDA_DIR}}/bin/conda"
when: not jupyterlab_vars.create_only_backend

- name: Add Miniconda to PATH
lineinfile:
path: /etc/profile
line: 'export PATH={{jupyterlab_vars.CONDA_DIR}}/bin:$PATH'
become: true
become_user: root
when: not jupyterlab_vars.create_only_backend
- name: Install Conda
ansible.builtin.import_tasks: ../conda/conda.yml

- name: Install conda-env role
include_role:
Expand Down
2 changes: 1 addition & 1 deletion jupyterlab/jupyterlab_vars_file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jupyterlab_vars:
base_url:
default_user: ubuntu
DEFAULT_TOKEN: simplevm
CONDA_DIR: /home/ubuntu/miniconda3
CONDA_DIR: /home/ubuntu/miniforge
conda_env_environment_yml: ./jupyterlab_env.yml
ENV_NAME: denbi
TIMEOUT_LENGTH: 5m

0 comments on commit 851cc76

Please sign in to comment.