common/tasks/nginx/purge.yml
2020-02-06 19:57:24 +05:00

11 lines
185 B
YAML

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