From f422e379c275e3005f8f8cdd2167228cc8ecd5ee Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Mon, 11 Sep 2017 00:58:22 +0300 Subject: [PATCH] Do not try to start postgres when it's external --- roles/matrix-server/tasks/start.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/matrix-server/tasks/start.yml b/roles/matrix-server/tasks/start.yml index 110244ee..43072b40 100644 --- a/roles/matrix-server/tasks/start.yml +++ b/roles/matrix-server/tasks/start.yml @@ -2,6 +2,7 @@ - name: Ensure matrix-postgres autoruns and is restarted service: name=matrix-postgres enabled=yes state=restarted daemon_reload=yes + when: "not matrix_postgres_use_external" - name: Ensure matrix-s3fs autoruns and is restarted service: name=matrix-s3fs enabled=yes state=restarted daemon_reload=yes