This roles installs ruby and bundler globally.
To install run ansible-galaxy install sansible.ruby or add this to your
roles.yml
- name: sansible.ruby
version: v2.0and run ansible-galaxy install -p ./roles -r roles.yml
This role uses one tag: build
build- Installs Ruby all it's dependencies.
To install:
- name: Some app
hosts: "{{ hosts }}"
roles:
- role: sansible.rubyTo install without default config:
- name: Some app
hosts: "{{ hosts }}"
roles:
- role: sansible.ruby
ruby_version: "2.3"
ruby_gems:
- bundler
- sass