https://github.com/naftulikay/ansible-role-ruby-dev
An Ansible Role for setting up a Ruby development environment.
https://github.com/naftulikay/ansible-role-ruby-dev
ansible rbenv ruby
Last synced: 2 months ago
JSON representation
An Ansible Role for setting up a Ruby development environment.
- Host: GitHub
- URL: https://github.com/naftulikay/ansible-role-ruby-dev
- Owner: naftulikay
- License: mit
- Created: 2017-08-30T17:19:26.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-29T21:47:14.000Z (over 8 years ago)
- Last Synced: 2026-04-04T00:39:05.938Z (3 months ago)
- Topics: ansible, rbenv, ruby
- Language: Makefile
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-role-ruby-dev [![Build Status][travis.svg]][travis]
Installs and configures a Ruby development environment for a given user using [`rbenv`][rbenv].
Available on Ansible Galaxy at [`naftulikay.ruby-dev`][galaxy].
## 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:
```yaml
---
- name: install
hosts: all
become: true
roles:
- role: ruby-dev
ruby_user: vagrant
```
### Install a Specific Version
Install a specific version of Ruby:
```yaml
---
- name: install
hosts: all
become: true
roles:
- role: ruby-dev
ruby_user: vagrant
ruby_version: '2.4.3'
```
## License
MIT
[travis]: https://travis-ci.org/naftulikay/ansible-role-ruby-dev
[travis.svg]: https://travis-ci.org/naftulikay/ansible-role-ruby-dev.svg?branch=master
[galaxy]: https://galaxy.ansible.com/naftulikay/ruby-dev/
[rbenv]: https://github.com/rbenv/rbenv