GithubHelp home page GithubHelp logo

minrk / ansible-miniconda-role Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uchida/ansible-miniconda-role

0.0 3.0 0.0 20 KB

ansible role to install miniconda, Python-agnostic binary package manager

Home Page: https://galaxy.ansible.com/uchida/miniconda

License: Creative Commons Zero v1.0 Universal

ansible-miniconda-role's Introduction

uchida.miniconda

Version License Travis

ansible role to install miniconda, Python-agnostic binary package manager.

Role Variables

Available role variables are listed below, along with default values:

miniconda_python: 3
miniconda_version: "3.16.0"
miniconda_installer_checksum: ""
miniconda_prefix: "{{ ansible_env.HOME }}/miniconda{{ miniconda_python if miniconda_python == 3 else '' }}"
miniconda_update_conda: False
miniconda_env: ""

miniconda_python is a variable to specify python version miniconda based on. default: 3: install and use python3 based miniconda.

miniconda_version is a variable to specify version of miniconda. default: "3.16.0".

miniconda_installer_checksum: is a variable to checksum for miniconda_installer. default: "", do not check the digest.

miniconda_prefix is a variable to specify install prefix for miniconda. default: ~/miniconda or ~/miniconda3, it depends on miniconda_python.

miniconda_update_conda is a variable to specify wheather to run conda update conda or not default: False: do not update conda.

miniconda_env is a variable to specify conda environment to create. default is "", nothing will be created. its format is exactly same as conda env spec file, for example:

miniconda_env:
  name: stats
  channels:
    - javascript
  dependencies:
    - python=3.4   # or 2.7 if you are feeling nostalgic
    - bokeh=0.9.2
    - numpy=1.9.*
    - nodejs=0.10.*
    - flask
    - pip:
      - Flask-Testing

Example Playbooks

- hosts: servers
  roles:
    - role: uchida.miniconda
      miniconda_python: 2
      miniconda_prefix: /opt/miniconda
      miniconda_env:
        name: scipy
        dependencies:
          - python=2
          - numpy=1.9
          - scipy=0.14.0
          - matplotlib=1.4.0

License

CC0 dedicated to public domain

ansible-miniconda-role's People

Contributors

uchida avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.