Sha256: c7c8d6f7a8be5705da43be810eb2ab59a4345bde8403014c21a033bd2258b30e

Contents?: true

Size: 763 Bytes

Versions: 109

Compression:

Stored size: 763 Bytes

Contents

---
# included when rbenv_gem_repo is defined
# clones out the repo to a temp location, builds the .gem file, and installs

- name: set rbenv_gem_repo_dir fact
  set_fact:
    rbenv_gem_repo_dir: /tmp/ansible-nrser.rbenv_gem/{{ rbenv_gem_name }}-{{ rbenv_gem_version }}

- name: set rbenv_gem_source fact
  set_fact:
    rbenv_gem_source: "{{ rbenv_gem_repo_dir }}/{{ rbenv_gem_name }}-{{ rbenv_gem_version }}.gem"

- name: check out {{ rbenv_gem_repo }}@v{{ rbenv_gem_version }}
  git:
    repo: "{{ rbenv_gem_repo }}"
    dest: "{{ rbenv_gem_repo_dir }}"
    version: "v{{ rbenv_gem_version }}"
    depth: 1
    update: false

- command: gem build {{ rbenv_gem_name }}.gemspec
  args:
    chdir: "{{ rbenv_gem_repo_dir }}"
    creates: "{{ rbenv_gem_source }}"

Version data entries

109 entries across 109 versions & 1 rubygems

Version Path
qb-0.3.11 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.3.10 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.3.9 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.3.8 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.3.7 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.3.6 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.3.5 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.3.4 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.3.3 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.3.2 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.3.1 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.88 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.87 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.86 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.85 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.84 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.83 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.82 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.81 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.80 roles/nrser.rbenv_gem/tasks/clone-repo.yml