Fix corner-cases found through testing (aka ansible is nuts)

This commit is contained in:
Marcel Partap
2020-04-19 10:16:01 +02:00
parent a14b9c09ad
commit cf452fdf0a
3 changed files with 11 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
---
# a negative when condition will not actually prevent ansible from executing loops in imported tasks!
- import_tasks: "{{ role_path }}/tasks/workers/setup_install.yml"
when: "matrix_synapse_enabled|bool and matrix_synapse_workers_enabled|bool"