From f8f7406c5116ec7a0bb7dca587dd8e93216e5cdc Mon Sep 17 00:00:00 2001 From: Kim Brose <2803622+HarHarLinks@users.noreply.github.com> Date: Tue, 2 Dec 2025 17:56:44 +0000 Subject: [PATCH] Stop using deprecated `vars` variable for matrix-element-call --- roles/custom/matrix-element-call/tasks/validate_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/custom/matrix-element-call/tasks/validate_config.yml b/roles/custom/matrix-element-call/tasks/validate_config.yml index 86fb84705..dec4027dd 100644 --- a/roles/custom/matrix-element-call/tasks/validate_config.yml +++ b/roles/custom/matrix-element-call/tasks/validate_config.yml @@ -17,7 +17,7 @@ ansible.builtin.fail: msg: > You need to define a required configuration setting (`{{ item.name }}`). - when: "item.when | bool and vars[item.name] | string | length == 0" + when: "item.when | bool and lookup('vars', item.name, default='') | string | length == 0" with_items: - {'name': 'matrix_element_call_container_network', when: true} - {'name': 'matrix_element_call_hostname', when: true}