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.
22 lines
469 B
22 lines
469 B
7 years ago
|
- name: create ~/src
|
||
|
file:
|
||
|
path: ~/src
|
||
|
state: directory
|
||
|
|
||
|
- name: download chruby
|
||
|
get_url:
|
||
|
url: https://github.com/postmodern/chruby/archive/v{{ version }}.tar.gz
|
||
|
dest: ~/src/chruby-{{ version }}.tar.gz
|
||
|
|
||
|
- name: extract chruby
|
||
|
unarchive:
|
||
|
src: ~/src/chruby-{{ version }}.tar.gz
|
||
|
dest: ~/src
|
||
|
remote_src: yes
|
||
|
|
||
|
- name: install chruby
|
||
|
command: make install
|
||
|
args:
|
||
|
chdir: "{{ ansible_env.HOME }}/src/chruby-{{ version }}"
|
||
|
become: yes
|