--- - name: "[Alpine] Remove package: gitolite" apk: name: gitolite state: absent when: - ansible_distribution == "Alpine" - name: "[Archlinux] Remove package: gitolite" apk: name: gitolite state: absent when: - ansible_distribution == "Archlinux"