matrix-docker-ansible-deploy/roles/custom/matrix_playbook_migration/tasks/uninstall_matrix_ssl.yml
Slavi Pantaleev b1413a5645 Ensure matrix-ssl-lets-encrypt-certificates-renew systemd timer and service are gone
We may have had another migration task before, but I cannot find it now.

Some people have reported a leftover systemd timer and service,
so it's evident that not everyone has gone through that previous migration.
2024-02-23 08:50:04 +02:00

15 lines
467 B
YAML

---
- name: Ensure matrix-ssl files are deleted
ansible.builtin.file:
path: "{{ matrix_base_data_path }}/ssl"
state: absent
- name: Ensure matrix-ssl-lets-encrypt-certificates-renew systemd timer and service are gone
ansible.builtin.file:
path: "{{ devture_systemd_docker_base_systemd_path }}/{{ item }}"
state: absent
with_items:
- matrix-ssl-lets-encrypt-certificates-renew.timer
- matrix-ssl-lets-encrypt-certificates-renew.service