Coder Social home page Coder Social logo

ansible-rbenv-role's Introduction

rbenv

Role for installing rbenv.

Role ready status

Build Status

Requirements

none

Role Variables

Default variables are:

rbenv:
  env: system
  version: v0.4.0
  ruby_version: 2.0.0-p247

rbenv_repo: "git://github.com/sstephenson/rbenv.git"

rbenv_plugins:
  - { name: "rbenv-vars",
      repo: "git://github.com/sstephenson/rbenv-vars.git",
      version: "v1.2.0" }

  - { name: "ruby-build",
      repo: "git://github.com/sstephenson/ruby-build.git",
      version: "v20131225.1" }

  - { name: "rbenv-default-gems",
      repo: "git://github.com/sstephenson/rbenv-default-gems.git",
      version: "v1.0.0" }

  - { name: "rbenv-installer",
      repo: "git://github.com/fesplugas/rbenv-installer.git",
      version: "8bb9d34d01f78bd22e461038e887d6171706e1ba" }

  - { name: "rbenv-update",
      repo: "git://github.com/rkh/rbenv-update.git",
      version: "32218db487dca7084f0e1954d613927a74bc6f2d" }

  - { name: "rbenv-whatis",
      repo: "git://github.com/rkh/rbenv-whatis.git",
      version: "v1.0.0" }

  - { name: "rbenv-use",
      repo: "git://github.com/rkh/rbenv-use.git",
      version: "v1.0.0" }

rbenv_root: "{% if rbenv.env == 'system' %}/usr/local/rbenv{% else %}~/.rbenv{% endif %}"

rbenv_users: []

Description:

  • rbenv.env - Type of rbenv installation. Allows 'system' or 'user' values
  • rbenv.version - Version of rbenv to install (tag from rbenv releases page)
  • rbenv.ruby_version - Version of ruby to install as global rbenv ruby
  • rbenv_repo - Repository with source code of rbenv to install
  • rbenv_plugins - Array of Hashes with information about plugins to install
  • rbenv_root - Install path
  • rbenv_users - Array of Hashes with users for multiuser install. User must be present in the system

Example:

rbenv_users:
  - { name: "user", home: "/home/user/", comment: "Deploy user" }

Dependencies

none

License

MIT

Author Information

Andrew Kumanyaev

Bitdeli Badge

ansible-rbenv-role's People

Contributors

bitdeli-chef avatar jemaltieri avatar jrforrest avatar trinitronx avatar westonplatter avatar wjessop avatar worldofchris avatar zzet avatar

Watchers

 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.