Browse Source

do not install anaconda

master
parent
commit
a655b118d1
2 changed files with 0 additions and 18 deletions
  1. +0
    -2
      defaults/main.yml
  2. +0
    -16
      tasks/main.yml

+ 0
- 2
defaults/main.yml View File

@@ -2,5 +2,3 @@
conda_directory: /opt/conda conda_directory: /opt/conda
conda_installer_url: https://repo.continuum.io/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh conda_installer_url: https://repo.continuum.io/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh
conda_installer_checksum: sha256:ea4594241e13a2671c5b158b3b813f0794fe58d514795fbf72a1aad24db918cf conda_installer_checksum: sha256:ea4594241e13a2671c5b158b3b813f0794fe58d514795fbf72a1aad24db918cf

conda_anaconda_env: false

+ 0
- 16
tasks/main.yml View File

@@ -28,19 +28,3 @@
dest: /etc/fish/conf.d/conda.fish dest: /etc/fish/conf.d/conda.fish
state: link state: link
follow: false follow: false

- name: anaconda environment
command: conda create -n anaconda anaconda --json --quiet
environment:
PATH: /opt/conda/bin:{{ ansible_env.PATH }}
args:
creates: "{{ conda_directory }}/envs/anaconda"
when: conda_anaconda_env

- name: update anaconda environment
command: conda update -n anaconda --all --json --quiet
environment:
PATH: /opt/conda/bin:{{ ansible_env.PATH }}
register: _conda_command
changed_when: _conda.actions is defined
when: conda_anaconda_env

Loading…
Cancel
Save