---

- name: Ensure matrix-ssl files are deleted
  ansible.builtin.file:
    path: "{{ matrix_base_data_path }}/ssl"
    state: absent

- name: Ensure matrix SSL-related systemd timers and services 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
    - matrix-ssl-nginx-proxy-reload.timer
    - matrix-ssl-nginx-proxy-reload.service
