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) (#2848)
This commit is contained in:
parent
989a2526df
commit
6bed50b7d2
@ -76,9 +76,9 @@ module OneProvision
|
||||
version = version.match(/\d+[.]\d+[.]\d+/)
|
||||
version = Gem::Version.new(version)
|
||||
|
||||
if (version < ANSIBLE_VERSION[0]) || (version >= ANSIBLE_VERSION[1])
|
||||
if (version < ANSIBLE_VERSION[0]) || (version > ANSIBLE_VERSION[1])
|
||||
Utils.fail("Unsupported Ansible version #{version}, " \
|
||||
"must be >= #{ANSIBLE_VERSION[0]} and < #{ANSIBLE_VERSION[1]}")
|
||||
"must be >= #{ANSIBLE_VERSION[0]} and <= #{ANSIBLE_VERSION[1]}")
|
||||
end
|
||||
|
||||
return if provision.nil? || !provision.hci?
|
||||
|
Loading…
x
Reference in New Issue
Block a user