remove etherpad nginx config automatically

This commit is contained in:
Aine 2022-11-05 19:40:09 +02:00
parent 844f05dcef
commit a4dbc27f34
No known key found for this signature in database
GPG Key ID: 34969C908CCA2804

View File

@ -321,6 +321,12 @@
state: absent state: absent
when: "not matrix_nginx_proxy_proxy_ntfy_enabled | bool" when: "not matrix_nginx_proxy_proxy_ntfy_enabled | bool"
- name: Ensure Matrix nginx-proxy configuration for etherpad domain deleted
ansible.builtin.file:
path: "{{ matrix_nginx_proxy_confd_path }}/matrix-etherpad.conf"
state: absent
when: "not matrix_nginx_proxy_proxy_etherpad_enabled | bool"
- name: Ensure Matrix nginx-proxy homepage for base domain deleted - name: Ensure Matrix nginx-proxy homepage for base domain deleted
ansible.builtin.file: ansible.builtin.file:
path: "{{ matrix_nginx_proxy_data_path }}/matrix-domain/index.html" path: "{{ matrix_nginx_proxy_data_path }}/matrix-domain/index.html"