Do not try to start postgres when it's external

This commit is contained in:
Slavi Pantaleev 2017-09-11 00:58:22 +03:00
parent ab1a9fd87e
commit f422e379c2

View File

@ -2,6 +2,7 @@
- name: Ensure matrix-postgres autoruns and is restarted - name: Ensure matrix-postgres autoruns and is restarted
service: name=matrix-postgres enabled=yes state=restarted daemon_reload=yes 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 - name: Ensure matrix-s3fs autoruns and is restarted
service: name=matrix-s3fs enabled=yes state=restarted daemon_reload=yes service: name=matrix-s3fs enabled=yes state=restarted daemon_reload=yes