Sha256: 3eeffa8e54e5d3c72292597a5cd6932d695845e70e757815abd44708c646e759

Contents?: true

Size: 973 Bytes

Versions: 14

Compression:

Stored size: 973 Bytes

Contents

---
# tasks file for qb/git/repo

- name: >-
    Create {{ git_repo_dest }} directory
  file:
    dest: >-
      {{ git_repo_dest }}
    state: directory

- name: >-
    Initialize git
  command: git init
  args:
    chdir: >-
      {{ git_repo_dest }}
    creates: >-
      {{ git_repo_dest }}/.git

- name: >-
    Tell Git to ignore OSX artifacts 
  when: ansible_distribution == "MacOSX"
  include_role:
    name: qb/git/ignore
  vars:
    gitignore_name: Global/macOS
    gitignore_dest: >-
      {{ git_repo_dest }}

- name: >-
    Tell Git to ignore QB artifacts
  include_role:
    name: qb/git/ignore
  vars:
    gitignore_name: QB
    gitignore_dest: >-
      {{ git_repo_dest }}

- name: >-
    Tell Git to ignore each of <git_repo_gitignores>
  with_items: >-
    {{ git_repo_gitignores }}
  loop_control:
    loop_var: name
  include_role:
    name: qb/git/ignore
  vars:
    gitignore_name: >-
      {{ name }}
    gitignore_dest: >-
      {{ git_repo_dest }}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
qb-0.4.5 roles/qb/git/repo/tasks/main.yml
qb-0.4.4 roles/qb/git/repo/tasks/main.yml
qb-0.4.3 roles/qb/git/repo/tasks/main.yml
qb-0.4.2 roles/qb/git/repo/tasks/main.yml
qb-0.4.1 roles/qb/git/repo/tasks/main.yml
qb-0.4.0 roles/qb/git/repo/tasks/main.yml
qb-0.3.25 roles/qb/git/repo/tasks/main.yml
qb-0.3.24 roles/qb/git/repo/tasks/main.yml
qb-0.3.23 roles/qb/git/repo/tasks/main.yml
qb-0.3.22 roles/qb/git/repo/tasks/main.yml
qb-0.3.21 roles/qb/git/repo/tasks/main.yml
qb-0.3.20 roles/qb/git/repo/tasks/main.yml
qb-0.3.19 roles/qb/git/repo/tasks/main.yml
qb-0.3.18 roles/qb/git/repo/tasks/main.yml