common/tasks/certbot/purge.yml

12 lines
193 B
YAML

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