This playbook will install a specific ruby version in a user's home directory.
None
ruby_version
: Ruby version to installruby_deploy_user
: target user for rbenv installation; required; no defaultruby_makeopts
: Make options when building a ruby version; optional; default: -j2ruby_default
: default ruby version to set
ruby
: applies to the whole roleruby:config
: applies to the configuration part onlyruby:install
: applies to the ruby compilation/installation part only
- erasme.rbenv
This is mainly used as a dependency in your existing playbooks, like:
dependencies:
- { role: erasme.ruby-compiled,
ruby_version: "2.2.0" }
MIT
Created for @erasme by @leucos.