vn-ansible/os/uninstall_packages.yml

9 lines
172 B
YAML
Raw Normal View History

2023-08-22 10:27:30 +00:00
---
- hosts: "{{ hosts_servers }}"
2023-08-22 10:30:06 +00:00
gather_facts: no
2023-08-22 10:27:30 +00:00
tasks:
- name: Package Uninstall
apt:
purge: yes
name: "{{ package_name }}"
state: absent