Add a note about sudo: True for user installs, Fixes: #19

This commit is contained in:
Nick Janetakis
2014-11-19 10:40:20 -05:00
parent 61a4a2db25
commit 2fc88e9a05

View File

@@ -78,7 +78,11 @@ run the play with sudo because it will need to write to `/usr/local/lib/rvm`.
#### To the same user as `ansible_ssh_user`
You do not need to include `sudo: True` in this case, just overwrite `rvm_install_path` and set the `--user-install` flag:
In this case, just overwrite `rvm_install_path` and set the `--user-install` flag:
**Note:** you still need to use sudo because during the ruby
installation phase rvm will internally make calls using sudo
to install certain ruby dependencies.
```
rvm1_install_flags: '--auto-dotfiles --user-install'