fubarhouse.ruby

Ansible Role: Ruby

Build Status stability-stable Ansible Galaxy MIT licensed

This role installs RVM, Ruby, and Gems on systems running RHEL/CentOS, Debian/Ubuntu, and MacOSX.

Requirements

No special requirements.

Role Variables

Default Ruby version:

ruby_version: 2.4.0

Other Ruby versions to install:

ruby_versions:
  - 2.4.0

Ruby packages to download:

ruby_packages:
  - bundler
  - sass
  - compass

To mark installations as insecure, you can set:

secure_rvm_install: true

To update the autolibs setting:

rvm_autolibs_mode: enable

To start fresh by removing everything before a new installation:

clean_rvm_install: false

To enable or disable specific tasks:

install_rvm: true
install_ruby: true
install_gems: true

Dependencies

No dependencies.

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.

Informazioni sul progetto

Install Ruby Version Manager (RMV), Ruby cores and gems..

Installa
ansible-galaxy install fubarhouse.ruby
Licenza
mit
Download
1.4k
Proprietario
Lover of all things open source and computers - both hardware and software. My opinions are my own.