Skip to content

An ansible role for rbenv installation with multiple rubies

Notifications You must be signed in to change notification settings

rjlynch/ansible-role-rbenv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rbenv ansible role

An ansible role that installs rbenv and rbenv ruby-build plugin for specified user.

Requirements

Ansible version 2.0.1

Role Variables

List of default variables. You can override variables in your playbook.

---
rbenv_version: v1.0.0
rbenv_repo_path: https://github.com/rbenv/rbenv.git
rbenv_ruby_build_repo_path: https://github.com/sstephenson/ruby-build.git
rbenv_user: vagrant
rbenv_root_path: "/home/{{ rbenv_user }}/.rbenv"
rbenv_ruby_versions:
  - 2.4.2
rbenv_global_ruby_version: 2.4.2
rbenv_gems:
  - bundler

Dependencies

None.

Installation

add this to your requirements.yml

- src: "https://github.com/rjlynch/ansible-role-rbenv"
  version: master
  name: rbenv-role

Example Playbook

---
- hosts: localhost
  roles:
	- rbenv-role

License

MIT

Author Information

Gordon Shumway
Richard Lynch

About

An ansible role for rbenv installation with multiple rubies

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published