sfritz / ansible-rbenv-role

Ansible role for installing rbenv.

Home Page:https://galaxy.ansible.com/list#/roles/102

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rbenv

Role for installing rbenv.

Role ready status

Build Status

Requirements

none

Role Variables

Default variables are:

rbenv:
  version: v0.4.0
  ruby_version: 2.2.0

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 %}$HOME/.rbenv{% endif %}"

rbenv_users: []

Description:

  • rbenv.version - Version of rbenv to install (tag from rbenv releases page)
  • rbenv.ruby_versions - List of ruby versions to install
  • 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
  • default_gems_file - This is Rbenv's plugin rbenv-default-gems. Sets the path to a default-gems file of your choice (don't set it if you want to use the default file files/default-gems)

Example:

- hosts: web
  vars:
    rbenv:
      version: v0.4.0
      ruby_version: 2.0.0-p353
  roles:
    - {role: rbenv, sudo: yes}

Dependencies

none

License

MIT

Author Information

Andrew Kumanyaev

Bitdeli Badge

About

Ansible role for installing rbenv.

https://galaxy.ansible.com/list#/roles/102


Languages

Language:Ruby 100.0%