From 6658c690cb1e40c973f1234b1f8934150bef3d40 Mon Sep 17 00:00:00 2001 From: Aine Date: Wed, 13 Aug 2025 00:28:13 +0100 Subject: [PATCH] allow native draupnir (bot) auth using login/password --- roles/custom/matrix-bot-draupnir/tasks/validate_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/custom/matrix-bot-draupnir/tasks/validate_config.yml b/roles/custom/matrix-bot-draupnir/tasks/validate_config.yml index e81663db3..d9c2a698a 100644 --- a/roles/custom/matrix-bot-draupnir/tasks/validate_config.yml +++ b/roles/custom/matrix-bot-draupnir/tasks/validate_config.yml @@ -36,7 +36,7 @@ ansible.builtin.fail: msg: "The `{{ item.name }}` variable must be defined and have a non-null value." with_items: - - {'name': 'matrix_bot_draupnir_config_accessToken', when: "{{ not matrix_bot_draupnir_pantalaimon_use }}"} + - {'name': 'matrix_bot_draupnir_config_accessToken', when: "{{ not matrix_bot_draupnir_pantalaimon_use and not matrix_bot_draupnir_login_native }}"} - {'name': 'matrix_bot_draupnir_config_accessToken', when: "{{ matrix_bot_draupnir_config_experimentalRustCrypto }}"} - {'name': 'matrix_bot_draupnir_config_managementRoom', when: true} - {'name': 'matrix_bot_draupnir_container_network', when: true}