From 6c330f3032022456510bd2562b037981c039cc0b Mon Sep 17 00:00:00 2001 From: Nick Janetakis Date: Fri, 18 Jul 2014 18:15:24 -0400 Subject: [PATCH] Add a note about using sudo in the playbook example, update #4 --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b0355e1..f8cf816 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,11 @@ To use this role edit your `site.yml` file to look something like this: - hosts: app roles: - - { role: rvm_io.rvm1-ruby, tags: ruby } + # If you use the default rvm install location you must enable sudo + # because it will install to /usr/local/rvm. + # + # If you are installing to your user's home directory then you can drop sudo. + - { role: rvm_io.rvm1-ruby, tags: ruby, sudo: true } ``` Let's say you want to edit a few values, you can do this by opening or creating `group_vars/app.yml` which is located relative to your `inventory` directory and then making it look something like this: