An ansible role that installs rbenv and rbenv ruby-build plugin for specified user.
Ansible version 2.0.1
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
None.
add this to your requirements.yml
- src: "https://github.com/rjlynch/ansible-role-rbenv"
version: master
name: rbenv-role
---
- hosts: localhost
roles:
- rbenv-role
MIT