Accept Anaconda ToS before conda env creation
This commit is contained in:
parent
a3abccd36f
commit
2ef5f4118b
@ -72,6 +72,13 @@
|
||||
create: yes
|
||||
owner: cezen
|
||||
|
||||
- name: Accept Anaconda Terms of Service (required since 2024)
|
||||
become_user: cezen
|
||||
shell: |
|
||||
/opt/cezen/miniconda/bin/conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
|
||||
/opt/cezen/miniconda/bin/conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
|
||||
changed_when: false
|
||||
|
||||
- name: Create cezen conda environment (Python 3.11)
|
||||
become_user: cezen
|
||||
command: /opt/cezen/miniconda/bin/conda create -n cezen python=3.11 -y
|
||||
|
||||
Loading…
Reference in New Issue
Block a user