Sha256: ee8051aec342b479fc0a6dc88fea23f441f04d5e9f37ba3dd7537242dbabe2c3

Contents?: true

Size: 1.02 KB

Versions: 13

Compression:

Stored size: 1.02 KB

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"
  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

# qb artifacts
# ============

- name: ignore .qb-playbook.yml
  lineinfile:
    line: .qb-playbook.yml
    dest: "{{ project_dest }}/.gitignore"
  when: project_tmp

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
qb-0.1.58 roles/qb.project/tasks/main.yml
qb-0.1.57 roles/qb.project/tasks/main.yml
qb-0.1.56 roles/qb.project/tasks/main.yml
qb-0.1.55 roles/qb.project/tasks/main.yml
qb-0.1.54 roles/qb.project/tasks/main.yml
qb-0.1.53 roles/qb.project/tasks/main.yml
qb-0.1.52 roles/qb.project/tasks/main.yml
qb-0.1.51 roles/qb.project/tasks/main.yml
qb-0.1.50 roles/qb.project/tasks/main.yml
qb-0.1.49 roles/qb.project/tasks/main.yml
qb-0.1.48 roles/qb.project/tasks/main.yml
qb-0.1.47 roles/qb.project/tasks/main.yml
qb-0.1.46 roles/qb.project/tasks/main.yml