An Ansible Role that installs rvm and manage ruby version on Debian and Ubuntu servers.
Available variables can be found in defaults/main.yml
- hosts: all
vars:
rvm1_rubies: ['ruby-2.2.5','ruby-2.3.1'],
rvm1_install_flags: '--auto-dotfiles', # Remove --user-install from defaults
rvm1_install_path: /usr/local/rvm, # Set to system location
rvm1_user: root
roles:
- alphanodes.setup.rvm