certbot/tasks/purge.yml

12 lines
185 B
YAML

---
- name: Purge Certbot
apt:
name: certbot
state: absent
purge: true
- name: Delete Certbot configuration
file:
state: absent
path: '{{ certbot__conf_dir }}'