Add in the ability to copy the installer script from a local source
This commit is contained in:
@@ -20,7 +20,11 @@
|
|||||||
get_url:
|
get_url:
|
||||||
url: "{{ ruby_rvm_latest_installer }}"
|
url: "{{ ruby_rvm_latest_installer }}"
|
||||||
dest: "{{ ruby_temp_download_path }}/rvm-installer.sh"
|
dest: "{{ ruby_temp_download_path }}/rvm-installer.sh"
|
||||||
when: not rvm_installer.stat.exists or ruby_rvm_force_upgrade_installer
|
when: "'://' in ruby_rvm_latest_installer and not rvm_installer.stat.exists or ruby_rvm_force_upgrade_installer"
|
||||||
|
|
||||||
|
- name: ensure rvm installer is copied
|
||||||
|
copy: src="{{ ruby_rvm_latest_installer }}" dest="{{ ruby_temp_download_path }}/rvm-installer.sh"
|
||||||
|
when: not "://" in ruby_rvm_latest_installer and not rvm_installer.stat.exists or ruby_rvm_force_upgrade_installer
|
||||||
|
|
||||||
- name: ensure rvm installer is configured
|
- name: ensure rvm installer is configured
|
||||||
file:
|
file:
|
||||||
|
|||||||
Reference in New Issue
Block a user