Add option for passing ruby install flags
This commit is contained in:
@@ -40,6 +40,9 @@ rvm1_install_path: '/usr/local/rvm'
|
|||||||
# make sure you ADD the --user-install flag below
|
# make sure you ADD the --user-install flag below
|
||||||
rvm1_install_flags: '--auto-dotfiles'
|
rvm1_install_flags: '--auto-dotfiles'
|
||||||
|
|
||||||
|
# Add additional ruby install flags
|
||||||
|
rvm1_ruby_install_flags:
|
||||||
|
|
||||||
# Set the owner for the rvm directory
|
# Set the owner for the rvm directory
|
||||||
rvm1_user: 'root'
|
rvm1_user: 'root'
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,9 @@ rvm1_install_path: '/usr/local/rvm'
|
|||||||
# make sure you ADD the --user-install flag below
|
# make sure you ADD the --user-install flag below
|
||||||
rvm1_install_flags: '--auto-dotfiles'
|
rvm1_install_flags: '--auto-dotfiles'
|
||||||
|
|
||||||
|
# Add additional ruby install flags
|
||||||
|
rvm1_ruby_install_flags:
|
||||||
|
|
||||||
# Set the owner for the rvm directory
|
# Set the owner for the rvm directory
|
||||||
rvm1_user: 'root'
|
rvm1_user: 'root'
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
when: rvm1_rubies
|
when: rvm1_rubies
|
||||||
|
|
||||||
- name: Install rubies
|
- name: Install rubies
|
||||||
command: '{{ rvm1_rvm }} install {{ item.item }}'
|
command: '{{ rvm1_rvm }} install {{ item.item }} {{ rvm1_ruby_install_flags }}'
|
||||||
when: rvm1_rubies and item.rc != 0
|
when: rvm1_rubies and item.rc != 0
|
||||||
with_items: detect_rubies.results
|
with_items: detect_rubies.results
|
||||||
sudo_user: '{{ rvm1_user }}'
|
sudo_user: '{{ rvm1_user }}'
|
||||||
|
|||||||
Reference in New Issue
Block a user