mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-08 19:57:35 +01:00
14 lines
609 B
YAML
14 lines
609 B
YAML
---
|
|
|
|
# Unless `matrix_synapse_workers_enabled_list` is explicitly defined,
|
|
# we'll generate it dynamically.
|
|
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/synapse/workers/init.yml"
|
|
when: "matrix_synapse_workers_enabled | bool and matrix_synapse_workers_enabled_list | length == 0"
|
|
|
|
- name: Ensure workers are injected into various places
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/synapse/workers/util/inject_worker.yml"
|
|
with_items: "{{ matrix_synapse_workers_enabled_list }}"
|
|
loop_control:
|
|
loop_var: matrix_synapse_worker_details
|
|
when: matrix_synapse_workers_enabled | bool
|