Relocate tasks related to Synapse workers
This commit is contained in:
parent
5cfeae806b
commit
453a4ec2d8
@ -3,7 +3,7 @@
|
|||||||
when: matrix_synapse_enabled|bool
|
when: matrix_synapse_enabled|bool
|
||||||
|
|
||||||
- name: Ensure systemd services for workers are injected
|
- name: Ensure systemd services for workers are injected
|
||||||
include_tasks: "{{ role_path }}/tasks/workers/util/inject_systemd_services_for_worker.yml"
|
include_tasks: "{{ role_path }}/tasks/synapse/workers/util/inject_systemd_services_for_worker.yml"
|
||||||
with_items: "{{ matrix_synapse_workers_enabled_list }}"
|
with_items: "{{ matrix_synapse_workers_enabled_list }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: matrix_synapse_worker_details
|
loop_var: matrix_synapse_worker_details
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
- import_tasks: "{{ role_path }}/tasks/ext/setup.yml"
|
- import_tasks: "{{ role_path }}/tasks/ext/setup.yml"
|
||||||
|
|
||||||
- import_tasks: "{{ role_path }}/tasks/workers/setup.yml"
|
- import_tasks: "{{ role_path }}/tasks/synapse/workers/setup.yml"
|
||||||
|
|
||||||
- import_tasks: "{{ role_path }}/tasks/synapse/setup.yml"
|
- import_tasks: "{{ role_path }}/tasks/synapse/setup.yml"
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
path: "{{ matrix_local_bin_path }}/matrix-synapse-worker-write-pid"
|
path: "{{ matrix_local_bin_path }}/matrix-synapse-worker-write-pid"
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- include_tasks: "{{ role_path }}/tasks/workers/setup_install.yml"
|
- include_tasks: "{{ role_path }}/tasks/synapse/workers/setup_install.yml"
|
||||||
when: "matrix_synapse_enabled|bool and matrix_synapse_workers_enabled|bool"
|
when: "matrix_synapse_enabled|bool and matrix_synapse_workers_enabled|bool"
|
||||||
|
|
||||||
- include_tasks: "{{ role_path }}/tasks/workers/setup_uninstall.yml"
|
- include_tasks: "{{ role_path }}/tasks/synapse/workers/setup_uninstall.yml"
|
||||||
when: "not matrix_synapse_workers_enabled|bool"
|
when: "not matrix_synapse_workers_enabled|bool"
|
@ -36,7 +36,7 @@
|
|||||||
with_items: "{{ matrix_synapse_workers_current_systemd_services.files }}"
|
with_items: "{{ matrix_synapse_workers_current_systemd_services.files }}"
|
||||||
|
|
||||||
- name: Ensure creation of worker systemd service files and configuration files
|
- name: Ensure creation of worker systemd service files and configuration files
|
||||||
include_tasks: "{{ role_path }}/tasks/workers/util/setup_files_for_worker.yml"
|
include_tasks: "{{ role_path }}/tasks/synapse/workers/util/setup_files_for_worker.yml"
|
||||||
with_items: "{{ matrix_synapse_workers_enabled_list }}"
|
with_items: "{{ matrix_synapse_workers_enabled_list }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: matrix_synapse_worker_details
|
loop_var: matrix_synapse_worker_details
|
Loading…
Reference in New Issue
Block a user