ansible-collection-famedly-.../tasks/main.yml
Emmanouil Kampitakis 71c4f3b2a4 Make the ansible linter happy
remove trailing whitespaces
2019-02-18 00:27:45 +01:00

15 lines
589 B
YAML

---
- name: check that sypervision and deployment are compatible
fail:
msg: "Either both or neither of deployment and supervision method should be docker."
when: (matrix_synapse_supervision_method == "docker" and matrix_synapse_deployment_method != "docker") or (matrix_synapse_deployment_method == "docker" and matrix_synapse_supervision_method != "docker")
- name: configure synapse
import_tasks: configure.yml
- name: deploy synapse
import_tasks: deployment.yml
- name: configure service
import_tasks: systemd.yml
when: matrix_synapse_supervision_method == "systemd"