1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-29 18:50:08 +03:00

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

(cherry picked from commit 3fa1eb58b828d2d395669b493a3f3b8a28c93d2a)
This commit is contained in:
Jan Orel 2023-11-29 15:44:20 +01:00 committed by Tino Vázquez
parent b7813456f2
commit 7e3d1bce42
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

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?