- name: remove git
  package:
    name: git
    state: absent

- name: remove git from FreeBSD
  pkgng:
    name: git
    state: absent
    autoremove: yes
  when: ansible_distribution == "FreeBSD"
