---
- name: install git
  homebrew:
    name: git
    install_options: with-brewed-curl,with-brewed-openssl
    state: latest
  tags:
    - pkg

- name: install ~/.cvsignore
  copy:
    src: cvsignore
    dest: ~/.cvsignore

- name: install ~/.gitconfig
  template:
    src: gitconfig.j2
    dest: ~/.gitconfig

- name: install bash helpers for a git prompt
  copy:
    src: git-helpers
    dest: ~/.autoload/git-helpers
    mode: '0755'

---
- name: install git
  homebrew:
    name: git
    install_options: with-brewed-curl,with-brewed-openssl
    state: latest
  tags:
    - pkg
    - git

- name: install ~/.cvsignore
  copy:
    src: cvsignore
    dest: ~/.cvsignore
  tags:
    - git

- name: install ~/.gitconfig
  template:
    src: gitconfig.j2
    dest: ~/.gitconfig
  tags:
    - git

- name: install bash helpers for a git prompt
  copy:
    src: git-helpers
    dest: ~/.autoload/git-helpers
    mode: '0755'
  tags:
    - git

Add tags to the git role
Add tags to the git role

To be able to run only the git role at tags for each git task.
