Role Detail

geerlingguy.ruby

Ruby installation for Linux.
Downloads
26315
Type Ansible
Minimum Ansible Version 2.0
Installation $ ansible-galaxy install geerlingguy.ruby
Tags
development
web
Last Commit 2017-08-11 03:52:03 AM UTC
Last Imported 2017-11-17 02:33:02 AM UTC
Version History
Version Release Date
2.4.3 2017-08-11 03:52:03 AM
2.4.2 2017-01-09 17:45:05 PM
2.4.1 2016-09-14 17:10:05 PM
2.4.0 2016-08-08 03:44:03 AM
2.3.1 2016-03-10 17:07:05 PM
2.3.0 2016-02-29 05:45:05 AM
2.2.0 2016-01-08 22:48:10 PM
2.1.4 2015-09-24 02:34:02 AM
2.1.3 2015-09-24 02:31:02 AM
2.1.2 2015-05-12 06:11:06 AM
2.1.1 2015-05-11 17:38:05 PM
2.1.0 2015-04-27 02:39:02 AM
2.0.1 2015-02-05 03:30:03 AM
2.0.0 2015-02-04 05:14:05 AM
1.0.4 2015-02-04 04:25:04 AM
1.0.3 2014-10-30 19:40:07 PM
1.0.2 2014-09-27 03:59:03 AM
1.0.1 2014-06-19 16:01:04 PM
1.0.0 2014-03-07 14:33:02 PM
Supported Platforms
Platform Version
Debian etch
Debian jessie
Debian lenny
Debian sid
Debian squeeze
Debian stretch
Debian wheezy
EL 5
EL 6
EL 7
Fedora 16
Fedora 17
Fedora 18
Fedora 19
Fedora 20
Fedora 21
Fedora 22
Fedora 23
Fedora 24
Fedora 25
Fedora 26
FreeBSD 10.0
FreeBSD 10.1
FreeBSD 10.2
FreeBSD 10.3
FreeBSD 11.0
FreeBSD 11.1
FreeBSD 8.0
FreeBSD 8.1
FreeBSD 8.2
FreeBSD 8.3
FreeBSD 8.4
FreeBSD 9.0
FreeBSD 9.1
FreeBSD 9.1
FreeBSD 9.2
FreeBSD 9.3
GenericBSD any
GenericLinux any
GenericUNIX any
opensuse 12.1
opensuse 12.2
opensuse 12.3
opensuse 13.1
opensuse 13.2
SLES 10SP3
SLES 10SP4
SLES 11
SLES 11SP1
SLES 11SP2
SLES 11SP3
SLES 11SP4
SLES 12
SLES 12SP1
Ubuntu lucid
Ubuntu precise
Ubuntu trusty
Last 10 Imports
Completed Status
2017-11-17 02:33:02 AM UTC SUCCESS
2017-11-16 02:33:02 AM UTC SUCCESS
2017-11-14 02:32:02 AM UTC SUCCESS
2017-11-12 02:32:02 AM UTC SUCCESS
2017-11-10 02:30:02 AM UTC SUCCESS
2017-11-09 05:03:05 AM UTC SUCCESS
2017-11-08 02:31:02 AM UTC SUCCESS
2017-11-06 02:28:02 AM UTC SUCCESS
2017-11-04 02:27:02 AM UTC SUCCESS
2017-11-02 02:26:02 AM UTC SUCCESS

Ansible Role: Ruby

Build Status

Installs Ruby and bundler gem on Linux.

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

workspace: /root

The location where temporary files will be downloaded in preparation for Ruby installation.

ruby_install_bundler: true

Whether this role should install Bundler.

ruby_install_gems: []

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.

ruby_install_gems_user: username

The user account under which Ruby gems will be installed. Defaults to the ansible_ssh_user if not set.

ruby_install_from_source: false

By default, this role will install whatever version of ruby is available through your system's package manager (apt or yum). You can install whatever version you like (including the latest release) by setting this to true and/or updating the ruby_download_url and ruby_version.

ruby_download_url: http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.1.tar.gz

The URL from which Ruby will be downloaded (only used if ruby_install_from_source is true).

ruby_version: 2.2.1

The version of ruby that will be installed (only used if ruby_install_from_source is true).

ruby_rubygems_package_name: rubygems

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).

Dependencies

None.

Example Playbook

- hosts: server
  roles:
    - { role: geerlingguy.ruby }

License

MIT / BSD

Author Information

This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.

None