You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
- name: download ruby-install
|
|
|
|
get_url:
|
|
|
|
url: https://github.com/postmodern/ruby-install/archive/v{{ version }}.tar.gz
|
|
|
|
dest: ~/tmp/ruby-install-{{ version }}.tar.gz
|
|
|
|
force: yes
|
|
|
|
|
|
|
|
- name: extract ruby-install
|
|
|
|
unarchive:
|
|
|
|
tmp: ~/tmp/ruby-install-{{ version }}.tar.gz
|
|
|
|
dest: ~/tmp
|
|
|
|
remote_tmp: yes
|
|
|
|
|
|
|
|
- name: install ruby-install
|
|
|
|
command: make install
|
|
|
|
args:
|
|
|
|
chdir: "{{ ansible_env.HOME }}/tmp/ruby-install-{{ version }}"
|
|
|
|
become: yes
|