nerab.ruby
Ansible Role for Ruby
This role installs Ruby from source into /usr/local
.
You may override the installed version from defaults/main.yml
using the following variable struct in your playbook:
vars:
ruby_version:
major: 2
minor: 7
teeny: 0
Test
There is a Vagrant file in the tests folder that runs this role when started with vagrant up
.
The Travis setup can be mimicked locally (from the project's root directory) with
$ ANSIBLE_ROLES_PATH=.. ansible-playbook -i tests/inventory tests/playbook-2.6.5.yml --syntax-check
TODO
- Uninstall leaves a lot of empty directories behind
=> Can we just use the ones from
.installed.list
and delete those that are empty? - Test upgrades between supported versions
- Perhaps switch tests to use Molecule
Install
ansible-galaxy install nerab.ruby
License
Unknown
Downloads
58
Owner