You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- ---
-
- - name: download installer
- get_url:
- url: "{{ conda_installer_url }}"
- dest: "/opt/{{ _conda_installer_filename }}"
- checksum: "{{ conda_installer_checksum }}"
- mode: 0755
- owner: root
- group: root
-
- - name: install
- command: /opt/{{ _conda_installer_filename }} -b -p {{ conda_directory }}
- args:
- creates: "{{ conda_directory }}/bin/conda"
-
- - name: update
- command: conda update --all --json --quiet
- environment:
- PATH: /opt/conda/bin:{{ ansible_env.PATH }}
- register: _conda_command
- failed_when: _conda_command.rc != 0 or not _conda.success
- changed_when: _conda.actions is defined
-
- - name: link conda fish
- file:
- src: "{{ conda_directory }}/etc/fish/conf.d/conda.fish"
- dest: /etc/fish/conf.d/conda.fish
- state: link
- follow: false
|