In some cases you may want the rvm folder and its files to be owned by a specific user instead of root. Simply set rvm1_user: 'foo' and when ruby gets installed it will ensure that foo owns the rvm directory.
But when not specifying rvm1_user, it's gonna be root. And if it's root, ansible_ssh_user won't be able to install gems, create gemsets. Or so I think. Am I wrong?
UPD And rvm is sourced for root, not for ansible_ssh_user.
The
README.md
says this is what's needed:Also, it says:
But when not specifying
rvm1_user
, it's gonna beroot
. And if it's root,ansible_ssh_user
won't be able to install gems, create gemsets. Or so I think. Am I wrong?UPD And
rvm
is sourced forroot
, not foransible_ssh_user
.