Fix Schildichat config cleanup for matrix-nginx-proxy

This commit is contained in:
Slavi Pantaleev 2023-09-16 10:27:50 +03:00
parent 2376c920d8
commit a0f9b1b051

View File

@ -288,6 +288,12 @@
state: absent state: absent
when: "not matrix_nginx_proxy_proxy_element_enabled | bool" when: "not matrix_nginx_proxy_proxy_element_enabled | bool"
- name: Ensure Matrix nginx-proxy configuration for Schildichat domain deleted
ansible.builtin.file:
path: "{{ matrix_nginx_proxy_confd_path }}/matrix-client-schildichat.conf"
state: absent
when: "not matrix_nginx_proxy_proxy_schildichat_enabled | bool"
- name: Ensure Matrix nginx-proxy configuration for Hydrogen domain deleted - name: Ensure Matrix nginx-proxy configuration for Hydrogen domain deleted
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_nginx_proxy_confd_path }}/matrix-client-hydrogen.conf" path: "{{ matrix_nginx_proxy_confd_path }}/matrix-client-hydrogen.conf"