Browse Source

Skip some uninstall tasks if not necessary to run

pull/116/head
Slavi Pantaleev 7 years ago
parent
commit
2d56ff0afa
6 changed files with 6 additions and 0 deletions
  1. +1
    -0
      roles/matrix-corporal/tasks/setup_corporal.yml
  2. +1
    -0
      roles/matrix-coturn/tasks/setup_coturn.yml
  3. +1
    -0
      roles/matrix-mailer/tasks/setup_mailer.yml
  4. +1
    -0
      roles/matrix-nginx-proxy/tasks/setup_nginx_proxy.yml
  5. +1
    -0
      roles/matrix-riot-web/tasks/setup_riot_web.yml
  6. +1
    -0
      roles/matrix-synapse/tasks/setup_synapse_goofys.yml

+ 1
- 0
roles/matrix-corporal/tasks/setup_corporal.yml View File

@@ -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:


+ 1
- 0
roles/matrix-coturn/tasks/setup_coturn.yml View File

@@ -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:


+ 1
- 0
roles/matrix-mailer/tasks/setup_mailer.yml View File

@@ -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:


+ 1
- 0
roles/matrix-nginx-proxy/tasks/setup_nginx_proxy.yml View File

@@ -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:


+ 1
- 0
roles/matrix-riot-web/tasks/setup_riot_web.yml View File

@@ -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:


+ 1
- 0
roles/matrix-synapse/tasks/setup_synapse_goofys.yml View File

@@ -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…
Cancel
Save