Sha256: 902ed669fb915b085d177d196cac5c720e34a09029c1b2f440fc68d3b642cc93

Contents?: true

Size: 896 Bytes

Versions: 11

Compression:

Stored size: 896 Bytes

Contents

---
# tasks file for qb.project

# bin
# ===

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

# dev
# ===

- include: dev.yml
  when: project_dev

# tmp
# ===

- name: create tmp directory
  git_mkdir:
    path: "{{ project_dest }}/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: "{{ project_dest }}/.gitignore"
    create: true
  when: project_tmp

# readme
# ======

- name: create readme
  template:
    src: README.md.j2
    dest: "{{ project_dest }}/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: "{{ project_dest }}"
  when: project_hub

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
qb-0.3.12 roles/qb.project/tasks/main.yml
qb-0.3.11 roles/qb.project/tasks/main.yml
qb-0.3.10 roles/qb.project/tasks/main.yml
qb-0.3.9 roles/qb.project/tasks/main.yml
qb-0.3.8 roles/qb.project/tasks/main.yml
qb-0.3.7 roles/qb.project/tasks/main.yml
qb-0.3.6 roles/qb.project/tasks/main.yml
qb-0.3.5 roles/qb.project/tasks/main.yml
qb-0.3.4 roles/qb.project/tasks/main.yml
qb-0.3.3 roles/qb.project/tasks/main.yml
qb-0.3.2 roles/qb.project/tasks/main.yml