Add a note about using sudo in the playbook example, update #4

This commit is contained in:
Nick Janetakis
2014-07-18 18:15:24 -04:00
parent 818c1ccdf1
commit 6c330f3032

View File

@@ -24,7 +24,11 @@ To use this role edit your `site.yml` file to look something like this:
- hosts: app - hosts: app
roles: 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: 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: