Coder Social home page Coder Social logo

ansible-role-anyenv's Introduction

Build Status

Ansible Role: anyenv

[WARN] Under development.
Installs anyenv on RHEL/CentOS/Debian/Ubuntu.

Requirements

  • RedHat/CentOS: /bin/bash, git
  • Debian/Ubuntu: /bin/bash, git

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

anyenv_repository_url: https://github.com/riywo/anyenv
anyenv_installaton_dir: ~/.anyenv

anyenv_export: true
anyenv_export_profile_to_add_path: ~/.bashrc
anyenv_export_block: |
  if [ -d $HOME/.anyenv ] ; then
      export PATH="$HOME/.anyenv/bin:$PATH"
      eval "$(anyenv init -)"
  fi

...

anyenv_envs:
  - name: rbenv
    global_version: 2.3.0
    installation_versions:
      - 2.3.0

  - name: pyenv
    global_version: 2.7.10
    installation_versions:
      - 2.7.10
      - 3.5.1
...

Installation

$ cd roles
$ git clone https://github.com/ike-jp/ansible-role-anyenv.git ike-jp.anyenv

Dependencies

  • yaegashi.blockinfile

Example Playbook

    - hosts: servers

      vars:
        anyenv_envs:
          - name: rbenv
            global_version: 2.3.0
            installation_versions:
              - 2.3.0

          - name: pyenv
            global_version: 2.7.10
            installation_versions:
              - 2.7.10
              - 3.5.1

        anyenv_dependencies:
          - name: rbenv
            libraries:
              - sqlite3
              - libsqlite3-d
              - ...

          - name: pyenv
            libraries:
              - libbz2-dev
              - ...
...
      roles:
         - { role: ike-jp.anyenv }

TODO

  • Check installed versions and global.

License

MIT License

Author Information

This role was created in 2016 by ike-jp.

Bitdeli Badge

ansible-role-anyenv's People

Contributors

ike-jp avatar bitdeli-chef avatar

Watchers

James Cloos avatar  avatar

ansible-role-anyenv's Issues

Failed to build perl 5.23.7

現状、原因は分からないがtravis-ciでperlをインストールしようとすると失敗する。
plenvは問題なくインストールできている。

ローカルのubuntu14.04 server LTSでは成功する。

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.