Skip to content

Commit

Permalink
removed miniconda role
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Jan 29, 2024
1 parent 4fe5ac5 commit afcc93b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
24 changes: 18 additions & 6 deletions jupyterlab/jupyterlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,27 @@
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 role
include_role:
name: andrewrothstein.miniconda
vars:
miniconda_parent_dir: /home/{{jupyterlab_vars.default_user}}
miniconda_link_subdir: miniconda3
- 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



Check failure on line 27 in jupyterlab/jupyterlab.yml

View workflow job for this annotation

GitHub Actions / build

yaml[empty-lines]

Too many blank lines (3 > 2)

Check failure on line 27 in jupyterlab/jupyterlab.yml

View workflow job for this annotation

GitHub Actions / build

yaml[empty-lines]

Too many blank lines (3 > 2)
- name: Install conda-env role
include_role:
name: andrewrothstein.conda-env
Expand Down
2 changes: 0 additions & 2 deletions packer/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ roles:
- name: andrewrothstein.miniconda
version: v6.2.0

- name: andrewrothstein.conda-env
version: v2.2.0
- name: geerlingguy.docker
version: 7.0.2

Expand Down

0 comments on commit afcc93b

Please sign in to comment.