pgporada.ruby

Ansible Role: ansible-role-ruby

Ansible Galaxy

This role sets up a Ruby development environment.


Role Variables

This is a list of Ruby gems to install. It starts as an empty list, but you can choose to keep the gems updated and decide whether to install them locally or 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 Work on this Role

Before you send a Pull Request (PR), please create a test and run it using test-kitchen. Make sure you have at least Ruby 2.x, likely through rbenv, and bundler.

Check all the YAML files for errors using yamllint. It's okay to have warnings, but fix all errors before committing your changes.

find -type f -name "*.yml" -exec yamllint -c yamllint.yml -f parsable {} \;

Set up the test-kitchen dependencies with these commands:

git clone git@github.com: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 License

Phil Porada - philporada@gmail.com

Informazioni sul progetto

ansible-role-ruby

Installa
ansible-galaxy install pgporada.ruby
Licenza
mit
Download
326
Proprietario
Just a guy with a computer. 🌞🔒