From 9e0881554418aab61aa10e4c381b5d1bd0c8addc Mon Sep 17 00:00:00 2001 From: "R.J. Robinson" Date: Mon, 3 Oct 2016 15:26:08 -0400 Subject: [PATCH] update readme updated readme to better reflect passing in more than one ruby version. --- README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 26d7e5e..4aa84e8 100644 --- a/README.md +++ b/README.md @@ -69,9 +69,9 @@ rvm1_gpg_key_server: 'hkp://keys.gnupg.net' rvm1_autolib_mode: 3 ``` -## Example playbook +## Example playbooks -``` +```yaml --- - name: Configure servers with ruby support @@ -80,6 +80,17 @@ rvm1_autolib_mode: 3 roles: - { 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