|
|
|
@@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
- name: Check existence of matrix-mautrix-wsproxy service |
|
|
|
ansible.builtin.stat: |
|
|
|
path: "{{ matrix_systemd_path }}/matrix-mautrix-wsproxy.service" |
|
|
|
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-mautrix-wsproxy.service" |
|
|
|
register: matrix_mautrix_wsproxy_service_stat |
|
|
|
|
|
|
|
- name: Ensure matrix-mautrix-wsproxy is stopped |
|
|
|
@@ -14,7 +14,7 @@ |
|
|
|
|
|
|
|
- name: Ensure matrix-mautrix-wsproxy.service doesn't exist |
|
|
|
ansible.builtin.file: |
|
|
|
path: "{{ matrix_systemd_path }}/matrix-mautrix-wsproxy.service" |
|
|
|
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-mautrix-wsproxy.service" |
|
|
|
state: absent |
|
|
|
when: "matrix_mautrix_wsproxy_service_stat.stat.exists" |
|
|
|
|
|
|
|
@@ -25,7 +25,7 @@ |
|
|
|
|
|
|
|
- name: Check existence of matrix-mautrix-wsproxy-syncproxy service |
|
|
|
ansible.builtin.stat: |
|
|
|
path: "{{ matrix_systemd_path }}/matrix-mautrix-wsproxy-syncproxy.service" |
|
|
|
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-mautrix-wsproxy-syncproxy.service" |
|
|
|
register: matrix_mautrix_wsproxy_syncproxy_service_stat |
|
|
|
|
|
|
|
- name: Ensure matrix-mautrix-wsproxy-syncproxy is stopped |
|
|
|
@@ -37,7 +37,7 @@ |
|
|
|
|
|
|
|
- name: Ensure matrix-mautrix-wsproxy-syncproxy.service doesn't exist |
|
|
|
ansible.builtin.file: |
|
|
|
path: "{{ matrix_systemd_path }}/matrix-mautrix-wsproxy-syncproxy.service" |
|
|
|
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-mautrix-wsproxy-syncproxy.service" |
|
|
|
state: absent |
|
|
|
when: "matrix_mautrix_wsproxy_syncproxy_service_stat.stat.exists" |
|
|
|
|