Ansible Role: Ruby
Installs Ruby and bundler gem on Linux.
Available variables are listed below, along with default values (see
The location where temporary files will be downloaded in preparation for Ruby installation.
Whether this role should install Bundler.
A list of Ruby gems to install (just the name of the gem to be installed). This is meant as a simple convenience, and will only install the latest version of the gem. If you need to install gems with more options or specificity, you can do so elsewhere in your playbook.
The user account under which Ruby gems will be installed. Defaults to the
ansible_ssh_user if not set.
By default, this role will install whatever version of ruby is available through your system's package manager (
yum). You can install whatever version you like (including the latest release) by setting this to
true and/or updating the
The URL from which Ruby will be downloaded (only used if
The version of ruby that will be installed (only used if
ruby_source_configure_command: ./configure --enable-shared
configure command that will be run (only used if
The name of the
rubygems package. Generally, the default should work; but it will be set to
rubygems-integration automatically on Ubuntu Trusty (14.04).
- hosts: server roles: - role: geerlingguy.ruby
MIT / BSD