An Ansible Role for setting up a Ruby development environment.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
defaults
meta
tasks
templates
tests
vars
.gitignore
.travis.yml
LICENSE
Makefile
README.md
Vagrantfile
ansible.cfg
requirements.txt
requirements.yml
vagrant.yml

README.md

ansible-role-ruby-dev Build Status

Installs and configures a Ruby development environment for a given user using rbenv.

Available on Ansible Galaxy at naftulikay.ruby-dev.

Requirements

Officially tested operating systems are listed in the Galaxy manifest.

Role Variables

ruby_user
User to install Ruby tools for. Required.
ruby_version
Version of Ruby to install. Defaults to 2.4.1.

Dependencies

None.

Example Playbook

Here are some example playbooks to get started with.

Defaults

Simply get a Ruby development environment installed:

---
- name: install
  hosts: all
  become: true
  roles:
    - role: ruby-dev
      ruby_user: vagrant

Install a Specific Version

Install a specific version of Ruby:

---
  - name: install
    hosts: all
    become: true
    roles:
      - role: ruby-dev
        ruby_user: vagrant
        ruby_version: '2.4.3'

License

MIT