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

- name: download chruby
get_url:
url: https://github.com/postmodern/chruby/archive/v{{ version }}.tar.gz
dest: ~/tmp/chruby-{{ version }}.tar.gz
force: yes
- name: extract chruby
unarchive:
tmp: ~/tmp/chruby-{{ version }}.tar.gz
dest: ~/tmp
remote_tmp: yes
- name: install chruby
command: make install
args:
chdir: "{{ ansible_env.HOME }}/tmp/chruby-{{ version }}"
become: yes