Skip to content

Commit

Permalink
Use pip to install conda
Browse files Browse the repository at this point in the history
Using mamba failed due to pinned python=3.10
  • Loading branch information
sverhoeven committed Aug 28, 2024
1 parent 8f5ff1c commit 706dde7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions roles/ewatercycle/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
# tasks file for ewatercycle

- name: Install conda-lock in base conda env
command: '{{ conda_root }}/condabin/mamba env install --name base conda-lock -y'
args:
creates:
'{{ conda_root }}/bin/conda-lock'
ansible.builtin.pip:
name: conda-lock
executable: '{{ conda_root }}/bin/pip3'
- name: eWaterCycle conda lock
ansible.builtin.get_url:
url: 'https://raw.githubusercontent.com/eWaterCycle/ewatercycle/{{ pyewatercycle_version }}/conda-lock.yml'
Expand Down

0 comments on commit 706dde7

Please sign in to comment.