| @@ -51,6 +51,7 @@ | |||||
| stat: | stat: | ||||
| path: "/etc/systemd/system/matrix-corporal.service" | path: "/etc/systemd/system/matrix-corporal.service" | ||||
| register: matrix_corporal_service_stat | register: matrix_corporal_service_stat | ||||
| when: "not matrix_corporal_enabled" | |||||
| - name: Ensure matrix-corporal is stopped | - name: Ensure matrix-corporal is stopped | ||||
| service: | service: | ||||
| @@ -58,6 +58,7 @@ | |||||
| stat: | stat: | ||||
| path: "/etc/systemd/system/matrix-coturn.service" | path: "/etc/systemd/system/matrix-coturn.service" | ||||
| register: matrix_coturn_service_stat | register: matrix_coturn_service_stat | ||||
| when: "not matrix_coturn_enabled" | |||||
| - name: Ensure matrix-coturn is stopped | - name: Ensure matrix-coturn is stopped | ||||
| service: | service: | ||||
| @@ -46,6 +46,7 @@ | |||||
| stat: | stat: | ||||
| path: "/etc/systemd/system/matrix-mailer.service" | path: "/etc/systemd/system/matrix-mailer.service" | ||||
| register: matrix_mailer_service_stat | register: matrix_mailer_service_stat | ||||
| when: "not matrix_mailer_enabled" | |||||
| - name: Ensure matrix-mailer is stopped | - name: Ensure matrix-mailer is stopped | ||||
| service: | service: | ||||
| @@ -132,6 +132,7 @@ | |||||
| stat: | stat: | ||||
| path: "/etc/systemd/system/matrix-nginx-proxy.service" | path: "/etc/systemd/system/matrix-nginx-proxy.service" | ||||
| register: matrix_nginx_proxy_service_stat | register: matrix_nginx_proxy_service_stat | ||||
| when: "not matrix_nginx_proxy_enabled" | |||||
| - name: Ensure matrix-nginx-proxy is stopped | - name: Ensure matrix-nginx-proxy is stopped | ||||
| service: | service: | ||||
| @@ -60,6 +60,7 @@ | |||||
| stat: | stat: | ||||
| path: "/etc/systemd/system/matrix-riot-web.service" | path: "/etc/systemd/system/matrix-riot-web.service" | ||||
| register: matrix_riot_web_service_stat | register: matrix_riot_web_service_stat | ||||
| when: "not matrix_riot_web_enabled" | |||||
| - name: Ensure matrix-riot-web is stopped | - name: Ensure matrix-riot-web is stopped | ||||
| service: | service: | ||||
| @@ -53,6 +53,7 @@ | |||||
| stat: | stat: | ||||
| path: "/etc/systemd/system/matrix-goofys.service" | path: "/etc/systemd/system/matrix-goofys.service" | ||||
| register: matrix_goofys_service_stat | register: matrix_goofys_service_stat | ||||
| when: "not matrix_s3_media_store_enabled" | |||||
| - name: Ensure matrix-goofys is stopped | - name: Ensure matrix-goofys is stopped | ||||
| service: | service: | ||||