common/tasks/nginx/purge.yml

12 lines
185 B
YAML
Raw Normal View History

2020-02-06 09:57:24 -05:00
---
- name: Purge Nginx
apt:
name: nginx
state: absent
purge: true
- name: Delete Nginx configuration
file:
state: absent
path: '{{ common__nginx__conf_dir }}'