Replace even more import_tasks calls with include_tasks

This commit is contained in:
Slavi Pantaleev
2022-11-24 15:19:42 +02:00
parent 7c2a7a8eb6
commit d29b0aeddb
21 changed files with 132 additions and 213 deletions

View File

@ -20,11 +20,8 @@
- when: matrix_synapse_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
- when: matrix_synapse_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_synapse.yml"
- when: not matrix_synapse_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
# This handles both install and uninstal. It's quite messy and should be reworked.
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_synapse.yml"
tags:
- setup-all
- setup-synapse