https://github.com/fubarhouse/ansible-role-ruby
Ansible role which provisions ruby and gems using rvm
https://github.com/fubarhouse/ansible-role-ruby
ansible ruby rvm
Last synced: 2 months ago
JSON representation
Ansible role which provisions ruby and gems using rvm
- Host: GitHub
- URL: https://github.com/fubarhouse/ansible-role-ruby
- Owner: fubarhouse
- License: mit
- Created: 2015-08-23T06:30:45.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-02-11T09:09:30.000Z (over 8 years ago)
- Last Synced: 2025-06-06T02:42:37.280Z (about 1 year ago)
- Topics: ansible, ruby, rvm
- Homepage:
- Size: 107 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: Ruby
[](https://travis-ci.org/fubarhouse/ansible-role-ruby)
[](https://github.com/orangemug/stability-badges)
[](https://galaxy.ansible.com/fubarhouse/ruby)
[](https://raw.githubusercontent.com/fubarhouse/ansible-role-ruby/master/LICENSE)
Installs RVM, Ruby and Gems on RHEL/CentOS, Debian/Ubuntu and MacOSX systems.
## Requirements
None.
## Role Variables
Default Ruby version
````
ruby_version: 2.4.0
````
All other Ruby versions to install
````
ruby_versions:
- 2.4.0
````
Ruby packages to download
````
ruby_packages:
- bundler
- sass
- compass
````
You can flag installations as insecure by falsifying:
````
secure_rvm_install: true
````
To change the autolibs flag:
````
rvm_autolibs_mode: enable
````
To remove everything before starting (fresh installation):
````
clean_rvm_install: false
````
To enable/disable tasks of a certain category
````
install_rvm: true
install_ruby: true
install_gems: true
````
## Dependencies
None.
## Example Playbook
````
- hosts: localhost
sudo: true
vars:
ruby_version: 2.4.0
ruby_packages:
- sass
roles:
- fubarhouse.ruby
````
## License
MIT / BSD
## Author Information
This role was created in 2015 by [Karl Hepworth](https://twitter.com/fubarhouse).