Sha256: 8f8cc329377f00223f724166ed70f14b5d338ac87e17f0604d3e68cbfcb1a450

Contents?: true

Size: 607 Bytes

Versions: 1

Compression:

Stored size: 607 Bytes

Contents

---
- name: Download Ruby {{ ruby_version }} source
  get_url: url={{ ruby_src_url }} dest={{ src_dir }}

- name: Extract Ruby source
  unarchive: src={{ ruby_src_file }}
  args:
    dest: "{{ src_dir }}"
    creates: "{{ ruby_src_dir }}"
    copy: no

- name: Configure Ruby
  command: ./configure chdir={{ ruby_src_dir }}
  args:
    creates: "{{ ruby_src_dir}}/Makefile"

- name: Build Ruby
  command: make chdir={{ ruby_src_dir }}
  args:
    creates: "{{ ruby_src_dir}}/ruby"

- name: Install Ruby
  become: yes
  command: make install chdir={{ ruby_src_dir }}
  args:
    creates: /usr/local/bin/ruby

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arkenstone-0.3.0 templates/ansible/roles/ruby/tasks/main.yml