mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Merge pull request #4344 from AndydeCleyre/patch-1
Fix for Issue #2470 - gem version string processing
This commit is contained in:
@@ -104,7 +104,7 @@ def get_installed_versions(module, remote=False):
|
|||||||
if match:
|
if match:
|
||||||
versions = match.group(1)
|
versions = match.group(1)
|
||||||
for version in versions.split(', '):
|
for version in versions.split(', '):
|
||||||
installed_versions.append(version)
|
installed_versions.append(version.split()[0])
|
||||||
return installed_versions
|
return installed_versions
|
||||||
|
|
||||||
def exists(module):
|
def exists(module):
|
||||||
|
|||||||
Reference in New Issue
Block a user