vn-ansible/linux/os/uninstall_package.yml

9 lines
172 B
YAML

---
- hosts: "{{ hosts_servers }}"
gather_facts: no
tasks:
- name: Package Uninstall
apt:
name: "{{ package_name }}"
state: absent
purge: true