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

housekeeping^2
Slavi Pantaleev 2 years ago
parent 7142ff422d
commit ad22bdb884

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

Loading…
Cancel
Save