2018-07-30 14:56:33 +00:00
|
|
|
---
|
2019-02-16 10:25:57 +00:00
|
|
|
- name: check that sypervision and deployment are compatible
|
|
|
|
fail:
|
|
|
|
msg: "Either both or neither of deployment and supervision method should be docker."
|
2019-02-17 23:47:45 +00:00
|
|
|
when: (matrix_synapse_supervision_method == "docker" and matrix_synapse_deployment_method != "docker") or
|
|
|
|
(matrix_synapse_deployment_method == "docker" and matrix_synapse_supervision_method != "docker")
|
2019-02-17 23:27:45 +00:00
|
|
|
|
2018-07-30 14:56:33 +00:00
|
|
|
- name: configure synapse
|
|
|
|
import_tasks: configure.yml
|
|
|
|
|
2019-02-16 10:25:57 +00:00
|
|
|
- name: deploy synapse
|
|
|
|
import_tasks: deployment.yml
|
|
|
|
|
2018-07-30 14:56:33 +00:00
|
|
|
- name: configure service
|
|
|
|
import_tasks: systemd.yml
|
2019-02-16 10:25:57 +00:00
|
|
|
when: matrix_synapse_supervision_method == "systemd"
|