|
@@ -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 |
|
|
|