---
- name: Purge Nginx
apt:
state: absent
purge: true
name:
- nginx
- nginx-common
- nginx-core
- name: Delete Nginx configuration
file:
path: '{{ common__nginx__conf_dir }}'