mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 20:57:41 +01:00
9 lines
370 B
YAML
9 lines
370 B
YAML
---
|
|
# 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"
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/workers/setup_uninstall.yml"
|
|
when: "not matrix_synapse_workers_enabled|bool"
|