Skip to content

naftulikay/ansible-role-ruby-dev

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

An Ansible Role for setting up a Ruby development environment.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published