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.
18 lines
417 B
18 lines
417 B
7 years ago
|
- name: download chruby
|
||
|
get_url:
|
||
|
url: https://github.com/postmodern/chruby/archive/v{{ version }}.tar.gz
|
||
7 years ago
|
dest: ~/tmp/chruby-{{ version }}.tar.gz
|
||
|
force: yes
|
||
7 years ago
|
|
||
|
- name: extract chruby
|
||
|
unarchive:
|
||
7 years ago
|
tmp: ~/tmp/chruby-{{ version }}.tar.gz
|
||
|
dest: ~/tmp
|
||
|
remote_tmp: yes
|
||
7 years ago
|
|
||
|
- name: install chruby
|
||
|
command: make install
|
||
|
args:
|
||
7 years ago
|
chdir: "{{ ansible_env.HOME }}/tmp/chruby-{{ version }}"
|
||
7 years ago
|
become: yes
|