From a655b118d12b6cb49764f60b24d2c15a309bc0ac Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Fri, 16 Nov 2018 18:16:58 +0000 Subject: [PATCH] do not install anaconda --- defaults/main.yml | 2 -- tasks/main.yml | 16 ---------------- 2 files changed, 18 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 5e871ce..4f068cf 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -2,5 +2,3 @@ conda_directory: /opt/conda conda_installer_url: https://repo.continuum.io/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh conda_installer_checksum: sha256:ea4594241e13a2671c5b158b3b813f0794fe58d514795fbf72a1aad24db918cf - -conda_anaconda_env: false diff --git a/tasks/main.yml b/tasks/main.yml index 21e1f0b..7c9e625 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -28,19 +28,3 @@ dest: /etc/fish/conf.d/conda.fish state: link 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