Skip to content

hanke0/ansible-miniconda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ko-han.ansible_miniconda

Installs Miniconda use ansible

Role Variables

# miniconda download url
miniconda_installer_url: https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

# miniconda installer file full path
miniconda_installer_file: /tmp/miniconda.sh

# miniconda install to this path
miniconda_path: /usr/local/miniconda

miniconda_bin: '{{ miniconda_install_path }}/bin/conda'

# add miniconda to path
miniconda_activate_in_bashrc: yes

# become root if necessary
miniconda_use_sudo: yes

Example Playbook

  1. simple
- hosts: servers
  roles:
    - ko_han.ansible_miniconda
  1. set vars
# installs Miniconda
- host: python-dev-host
  roles:
    - role: ko_han.ansible_miniconda
      miniconda_path: /root/miniconda

How to install

ansible-galaxy install ko_han.ansible_miniconda

License

MIT

About

install latest miniconda use ansible

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published