We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
conda tos
1 parent 127c60e commit ab33ad8Copy full SHA for ab33ad8
1 file changed
roles/python/tasks/main.yaml
@@ -36,6 +36,7 @@
36
create: true
37
block: |
38
export PATH=/opt/python/{{ item }}/bin:/opt/python/miniconda/bin:$PATH
39
+ export CONDA_PLUGINS_AUTO_ACCEPT_TOS=true
40
loop: '{{ python_interpreter_versions }}'
41
# uses the last element of the list
42
when: item == python_interpreter_versions[-1]
@@ -108,7 +109,6 @@
108
109
110
- name: Install Python versions
111
ansible.builtin.command: |
- /opt/python/miniconda/bin/conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
112
/opt/python/miniconda/bin/conda create --quiet --yes --prefix /opt/python/{{ item }} python={{ item }}
113
114
when: python_interpreter_versions is defined
0 commit comments