ruby
Ansible Role: ansible-role-ruby
This role installs a Ruby development environment.
Role Variables
List of gems to install. Defaults to empty list. You have the ability to always keep the gems up to date and install locally/globally.
ruby_gemlist: []
Example Playbook
---
- hosts: localhost
connection: local
become: true
become_method: sudo
vars:
ruby_gemlist:
- name: bundler
state: latest
install_only_for_user: no
- name: rake
state: present
install_only_for_user: yes
roles:
- ansible-role-ruby
...
How to hack away at this role
Before submitting a PR, please create a test and run it through test-kitchen. You will need to have at least Ruby 2.x
, probably through rbenv
, and bundler
.
Lint all the yaml files with yamllint. Warnings are ok, fix all errors before committing back up.
find -type f -name "*.yml" -exec yamllint -c yamllint.yml -f parsable {} \;
Set up test-kitchen dependencies
git clone [email protected]:pgporada/ansible-role-ruby.git
bundle install
bundle update
bundle exec kitchen create
bundle exec kitchen converge
bundle exec kitchen verify
bundle exec kitchen destroy
Theme Music
Mischief Brew - Old Tyme Mem'ry
Author information and license
MIT
Phil Porada - philporada@gmail.com
Install
ansible-galaxy install pgporada/ansible-role-ruby
License
mit
Downloads
316
Owner
Just a guy with a computer. 🌞🔒