Replace most import_tasks calls with include_tasks for improved performance

This commit is contained in:
Slavi Pantaleev
2022-11-24 11:33:30 +02:00
parent 5c3df22c35
commit 7c2a7a8eb6
115 changed files with 1175 additions and 1654 deletions

View File

@ -4,10 +4,6 @@
name: custom/matrix-base
tasks_from: ensure_openssl_installed
#
# Tasks related to setting up jitsi
#
- name: Ensure Matrix jitsi base path exists
ansible.builtin.file:
path: "{{ item.path }}"
@ -17,8 +13,4 @@
group: "{{ matrix_user_groupname }}"
with_items:
- {path: "{{ matrix_jitsi_base_path }}", when: true}
when: matrix_jitsi_enabled | bool and item.when
#
# Tasks related to getting rid of jitsi (if it was previously enabled)
#
when: item.when | bool