Ensure instance_map.port is numeric
Fixup related to https://github.com/matrix-org/synapse/pull/15431
This commit is contained in:
parent
c8215c98e7
commit
2d051679c0
|
@ -61,7 +61,7 @@
|
|||
|
||||
# Inject stream writers into the instance map.
|
||||
- ansible.builtin.set_fact:
|
||||
matrix_synapse_instance_map: "{{ matrix_synapse_instance_map | combine({matrix_synapse_worker_details.name: {'host': matrix_synapse_worker_details.name, 'port': matrix_synapse_worker_details.replication_port}}) }}"
|
||||
matrix_synapse_instance_map: "{{ matrix_synapse_instance_map | combine({matrix_synapse_worker_details.name: {'host': matrix_synapse_worker_details.name, 'port': matrix_synapse_worker_details.replication_port | int}}) }}"
|
||||
when: matrix_synapse_worker_details.type in matrix_synapse_known_instance_map_eligible_worker_types
|
||||
|
||||
# Inject pusher instances.
|
||||
|
|
Loading…
Reference in a new issue