From d6534a311f1782704ea6fdea738053dfd9134247 Mon Sep 17 00:00:00 2001 From: Paul Montero Date: Fri, 11 Nov 2016 12:37:03 -0500 Subject: [PATCH] Make default rvm1_user as a non root user --- defaults/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 32c9960..4373dbc 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -11,19 +11,19 @@ rvm1_bundler_install: True # Delete a specific version of ruby (ie. ruby-2.1.0) rvm1_delete_ruby: -# Install path for rvm (defaults to system wide) -rvm1_install_path: '/usr/local/rvm' +# Install path for rvm (defaults to user based install) +rvm1_install_path: '~/.rvm' # Add or remove any install flags -# NOTE: If you are doing a USER BASED INSTALL then -# make sure you ADD the --user-install flag below -rvm1_install_flags: '--auto-dotfiles' +# NOTE: If you are doing a ROOT BASED INSTALL then +# make sure you REMOVE the --user-install flag below +rvm1_install_flags: '--auto-dotfiles --user-install' # Add additional ruby install flags rvm1_ruby_install_flags: # Set the owner for the rvm directory -rvm1_user: 'root' +rvm1_user: 'ubuntu' # URL for the latest installer script rvm1_rvm_latest_installer: 'https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer'