Skip some uninstall tasks if not necessary to run
This commit is contained in:
parent
b066f8a0d8
commit
2d56ff0afa
|
@ -51,6 +51,7 @@
|
|||
stat:
|
||||
path: "/etc/systemd/system/matrix-corporal.service"
|
||||
register: matrix_corporal_service_stat
|
||||
when: "not matrix_corporal_enabled"
|
||||
|
||||
- name: Ensure matrix-corporal is stopped
|
||||
service:
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
stat:
|
||||
path: "/etc/systemd/system/matrix-coturn.service"
|
||||
register: matrix_coturn_service_stat
|
||||
when: "not matrix_coturn_enabled"
|
||||
|
||||
- name: Ensure matrix-coturn is stopped
|
||||
service:
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
stat:
|
||||
path: "/etc/systemd/system/matrix-mailer.service"
|
||||
register: matrix_mailer_service_stat
|
||||
when: "not matrix_mailer_enabled"
|
||||
|
||||
- name: Ensure matrix-mailer is stopped
|
||||
service:
|
||||
|
|
|
@ -132,6 +132,7 @@
|
|||
stat:
|
||||
path: "/etc/systemd/system/matrix-nginx-proxy.service"
|
||||
register: matrix_nginx_proxy_service_stat
|
||||
when: "not matrix_nginx_proxy_enabled"
|
||||
|
||||
- name: Ensure matrix-nginx-proxy is stopped
|
||||
service:
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
stat:
|
||||
path: "/etc/systemd/system/matrix-riot-web.service"
|
||||
register: matrix_riot_web_service_stat
|
||||
when: "not matrix_riot_web_enabled"
|
||||
|
||||
- name: Ensure matrix-riot-web is stopped
|
||||
service:
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
stat:
|
||||
path: "/etc/systemd/system/matrix-goofys.service"
|
||||
register: matrix_goofys_service_stat
|
||||
when: "not matrix_s3_media_store_enabled"
|
||||
|
||||
- name: Ensure matrix-goofys is stopped
|
||||
service:
|
||||
|
|
Loading…
Reference in a new issue