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