Merge pull request #1 from rjrobinson/rjrobinson-patch-1

update readme
This commit is contained in:
R.J. Robinson
2016-10-04 12:03:35 -04:00
committed by GitHub

View File

@@ -69,9 +69,9 @@ rvm1_gpg_key_server: 'hkp://keys.gnupg.net'
rvm1_autolib_mode: 3 rvm1_autolib_mode: 3
``` ```
## Example playbook ## Example playbooks
``` ```yaml
--- ---
- name: Configure servers with ruby support - name: Configure servers with ruby support
@@ -80,6 +80,17 @@ rvm1_autolib_mode: 3
roles: roles:
- { role: rvm_io.rvm1-ruby, tags: ruby, become: yes } - { role: rvm_io.rvm1-ruby, tags: ruby, become: yes }
``` ```
If you need to pass a list of ruby versions, pass it in an array like so.
```yaml
---
- hosts: all
roles:
- { role: rvm_io.rvm1-ruby,
tags: ruby,
rvm1_rubies: ['ruby-2.2.2','ruby-2.2.5'],
}
```
#### System wide installation #### System wide installation