- name: remove auto-installed packages from FreeBSD pkgng: name: git state: absent autoremove: yes when: git_install.changed