1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00

M #-: Allow == to max_ansibe (due to need of 2.13) (#2847)

This commit is contained in:
Jan Orel 2023-11-29 15:44:20 +01:00 committed by GitHub
parent 669aa32dd4
commit 3fa1eb58b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,9 +77,9 @@ module OneProvision
ansible_min, ansible_max = provision.ansible_ver
if (version < ansible_min) || (version >= ansible_max)
if (version < ansible_min) || (version > ansible_max)
Utils.fail("Unsupported Ansible ver. #{version}, " \
"must be >= #{ansible_min} and < #{ansible_max}")
"must be >= #{ansible_min} and <= #{ansible_max}")
end
return if provision.nil? || !provision.hci?