From c50f4d614ecea3df7a101b86ed49fd9db7dee2d7 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sun, 3 Dec 2023 12:41:29 +0200 Subject: [PATCH] Fix comparison method in validation check for deprecated variables --- tasks/validate_config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/validate_config.yml b/tasks/validate_config.yml index 48ade02..e7e7184 100644 --- a/tasks/validate_config.yml +++ b/tasks/validate_config.yml @@ -19,9 +19,9 @@ msg: >- Your configuration contains a variable, which now has a different name. Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`). - when: "vars | dict2items | selectattr('key', 'match', item.old) | list | items2dict" + when: "vars | dict2items | selectattr('key', item.comparison, item.old) | list | items2dict" with_items: - - {'old': 'nextcloud_container_image_customizations_php_imageick_installation_package', 'new': ''} + - {'comparison': 'equalto', 'old': 'nextcloud_container_image_customizations_php_imageick_installation_package', 'new': ''} - when: nextcloud_container_labels_traefik_enabled | bool block: