Do not run matrix-user-verification-service validation tasks unless the service is enabled

This commit is contained in:
Slavi Pantaleev 2023-02-10 19:39:55 +02:00
parent 7142ff422d
commit ad22bdb884

View File

@ -1,7 +1,7 @@
---
- block:
- when: matrix_jitsi_enabled | bool
- when: run_setup | bool and matrix_user_verification_service_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
- when: run_setup | bool and matrix_user_verification_service_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"