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.1.59 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.58 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.57 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.56 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.55 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.54 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.53 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.52 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.51 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.50 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.49 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.48 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.47 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.46 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.45 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.44 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.43 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.42 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.41 roles/nrser.rbenv_gem/tasks/clone-repo.yml
qb-0.1.40 roles/nrser.rbenv_gem/tasks/clone-repo.yml