Cleanup synchrotron balancers

This commit is contained in:
uumas
2023-04-25 20:30:59 +03:00
parent 2be85606c5
commit 46dc53580e
5 changed files with 3 additions and 14 deletions

View File

@@ -33,8 +33,3 @@
- name: Include worker instance tasks for {{ worker_type }}
ansible.builtin.include_tasks: worker_instance.yml
when: worker_ports|length == 0
- name: Append synchrotron variable
ansible.builtin.set_fact:
synapse_synchrotrons: "{{ synapse_synchrotrons + [synchrotron_type] }}"
when: synchrotron_type is defined and synchrotron_type not in synapse_synchrotrons

View File

@@ -25,7 +25,6 @@
- name: Initialize synapse worker vars
ansible.builtin.set_fact:
synapse_worker_services: []
synapse_synchrotrons: []
- name: Configure workers
ansible.builtin.include_tasks: worker_type.yml
@@ -45,4 +44,3 @@
- name: Ensure synchrotron balancer removed (legacy)
ansible.builtin.include_tasks: matrix-synchrotrons.yml
when: synapse_synchrotrons | length != 0