pibox-ansible/ansible/roles/apt-remove-package/tasks/main.yml

11 lines
167 B
YAML

---
- name: "Remove {{ package }}"
ansible.builtin.apt:
update_cache: true
name: "{{ package }}"
state: absent
failed_when: package is undefined
...