ansibleguy.infra_mariadb/tasks/debian/letsencrypt/apache_cleanup.yml

14 lines
390 B
YAML

---
- name: Certificates | LetsEncrypt Certbot | Apache | Disable temporary site
ansible.builtin.file:
state: absent
path: '/etc/apache2/sites-enabled/tmp_le_dummy.conf'
register: tmp_site_disable
- name: Certificates | LetsEncrypt Certbot | Apache | Reloading apache
ansible.builtin.systemd:
name: 'apache2.service'
state: reloaded
when: tmp_site_disable.changed