matrix-docker-ansible-deploy/roles/custom/matrix_playbook_migration/tasks/uninstall_matrix_ssl.yml

21 lines
645 B
YAML
Raw Normal View History

# SPDX-FileCopyrightText: 2024 MDAD Team and contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
- name: Ensure Matrix SSL-related 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