Skip to content
Snippets Groups Projects
Commit f5ce63b6 authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Switch to artifactory channels

1. Artifactory hosts a mirror of:
- conda-forge
- anaconda-main (this is the only channel from defaults that we care
  about)

We also add the ics-conda channel.
We probably want to allow people to add extra channels in the future.

2. Remove the user condarc file. The default configuration should be
   done at system level.
parent 6edecab7
No related branches found
No related tags found
No related merge requests found
pinned_packages:
- defaults::conda
- anaconda-main::conda
- anaconda-main::conda-build
channel_alias: https://artifactory.esss.lu.se/artifactory
channels:
- ics-conda
- conda-forge
- anaconda-main
auto_update_conda: False
auto_update_conda: False
channels:
- conda-forge
- defaults
......@@ -83,18 +83,13 @@
dest: /etc/profile.d/conda.sh
state: link
- name: copy condarc files
- name: copy condarc file
copy:
src: "{{ item.src }}"
dest: "{{ item.dest }}/.condarc"
src: system_condarc
dest: /opt/conda/.condarc
owner: conda
group: users
mode: 0644
with_items:
- src: user_condarc
dest: /home/conda
- src: system_condarc
dest: /opt/conda
# See https://github.com/conda/conda/issues/6576
- name: create empty environments.txt due to conda bug
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment