Skip to content

Commit

Permalink
ansible-scylla-node: Fixes post-upgrade version check
Browse files Browse the repository at this point in the history
This patch fixes the logic of how the version is checked after a minor upgrade, allowing to set a minor
version as 'ABCD.E.F' instead of 'ABCD.E.F-G.H.I'

Fixes #401

Signed-off-by: Eduardo Benzecri <[email protected]>
  • Loading branch information
ebenzecri authored and vladzcloudius committed Aug 16, 2024
1 parent f1a36b7 commit 844bb63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible-scylla-node/tasks/upgrade/node_verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 844bb63

Please sign in to comment.