vn-ansible/os/uninstall_packages.yml

9 lines
172 B
YAML

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