Parameterize superuser/group names
This commit is contained in:
@@ -42,3 +42,9 @@ rvm1_gpg_key_server: 'hkp://keys.gnupg.net'
|
||||
|
||||
# autolib mode, see https://rvm.io/rvm/autolibs
|
||||
rvm1_autolib_mode: 3
|
||||
|
||||
# Name of UID 0 user
|
||||
root_user: 'root'
|
||||
|
||||
# Name of GID 0 group -- BSD systems typically use wheel
|
||||
root_group: 'root'
|
||||
|
||||
@@ -56,8 +56,8 @@
|
||||
state: 'link'
|
||||
src: '{{ rvm1_install_path }}/wrappers/default/{{ item }}'
|
||||
dest: '{{ rvm1_symlink_to }}/{{ item }}'
|
||||
owner: 'root'
|
||||
group: 'root'
|
||||
owner: '{{ root_user }}'
|
||||
group: '{{ root_group }}'
|
||||
when: not '--user-install' in rvm1_install_flags
|
||||
with_items: '{{ rvm1_symlink_binaries }}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user