From 6a5e8c286601415900de25f78efe219f5a34547e Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sat, 18 Jan 2025 21:22:48 +0200 Subject: [PATCH] Only auto-create draupnir user if a password has been set The Draupnir role supports configuring it with either an access token or with a password. When a password is not assigned (which means the access token mode is used), the user is to be created manually. --- group_vars/matrix_servers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/group_vars/matrix_servers b/group_vars/matrix_servers index 8db2a7298..6da20c467 100755 --- a/group_vars/matrix_servers +++ b/group_vars/matrix_servers @@ -5864,7 +5864,7 @@ matrix_user_creator_users_auto: | 'username': matrix_bot_draupnir_login, 'initial_password': matrix_bot_draupnir_password, 'initial_type': 'bot', - }] if matrix_bot_draupnir_enabled else []) + }] if matrix_bot_draupnir_enabled and matrix_bot_draupnir_password else []) }} ######################################################################