Sha256: 43ea3fc63f028e5ded3d267f3b8265040edf0ab3cb8153e0dbd3aba29c841655

Contents?: true

Size: 615 Bytes

Versions: 3

Compression:

Stored size: 615 Bytes

Contents

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

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

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arkenstone-0.6.0 templates/ansible/roles/ruby/tasks/main.yml
arkenstone-0.5.2 templates/ansible/roles/ruby/tasks/main.yml
arkenstone-0.5.1 templates/ansible/roles/ruby/tasks/main.yml