Sha256: 18ccc2af47850e6ea35f9061990408c864037137619f55fca94bdfd1bcb8a6df

Contents?: true

Size: 872 Bytes

Versions: 27

Compression:

Stored size: 872 Bytes

Contents

---
# tasks file for qb.project

# bin
# ===

- name: create /bin directory
  git_mkdir:
    path: "{{ qb_dir }}/bin"
  when: project_bin

# dev
# ===

- include: dev.yml
  when: project_dev

# tmp
# ===

- name: create tmp directory
  git_mkdir:
    path: "{{ qb_dir }}/tmp"
    # have to explicitly commit it since it's ignored 
    commit: true
  when: project_tmp
    
- name: ignore tmp dir in git
  lineinfile:
    line: /tmp
    dest: "{{ qb_dir }}/.gitignore"
  register: ignore_tmp
  when: project_tmp

# readme
# ======

- name: create readme
  template:
    src: README.md.j2
    dest: "{{ qb_dir }}/README.md"
    force: "{{ project_force }}"
  when: project_readme

# hub
# ===

- name: run `hub create`
  command: "hub create{% if project_private %} -p{% endif %} {{ project_owner }}/{{ project_name }}"
  args:
    chdir: "{{ qb_dir }}"
  when: project_hub

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
qb-0.1.20 roles/qb.project/tasks/main.yml
qb-0.1.19 roles/qb.project/tasks/main.yml
qb-0.1.18 roles/qb.project/tasks/main.yml
qb-0.1.17 roles/qb.project/tasks/main.yml
qb-0.1.16 roles/qb.project/tasks/main.yml
qb-0.1.15 roles/qb.project/tasks/main.yml
qb-0.1.14 roles/qb.project/tasks/main.yml