From e41637722220cceefac9547067ece79b6f1cd7f9 Mon Sep 17 00:00:00 2001 From: Eduardo Benzecri Date: Fri, 16 Aug 2024 10:53:07 -0300 Subject: [PATCH] ansible-scylla-node: Fixes post-upgrade version check This patch fixes the logic of how the version is checked after a minor upgrade Fixes #401 Signed-off-by: Eduardo Benzecri --- ansible-scylla-node/tasks/upgrade/node_verification.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible-scylla-node/tasks/upgrade/node_verification.yml b/ansible-scylla-node/tasks/upgrade/node_verification.yml index 6fe1ed60..520fd380 100644 --- a/ansible-scylla-node/tasks/upgrade/node_verification.yml +++ b/ansible-scylla-node/tasks/upgrade/node_verification.yml @@ -62,4 +62,4 @@ version_installed: "{{ version_major_installed if upgrade_major else version_full_installed }}" ansible.builtin.fail: msg: "Version set ({{ version_specified }}) and version installed ({{ version_installed }}) are different, thus the upgrade failed." - when: version_installed not in version_specified + when: version_specified not in version_installed