1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #5979 from robinro/patch-1

remove check for version string
This commit is contained in:
Michael DeHaan 2014-02-12 11:53:58 -05:00
commit e526ae8756

View file

@ -196,13 +196,6 @@ def main():
result['name'] = name
result['state'] = state
# Decide if the name contains a version number.
match = re.search("-[0-9]", name)
if match:
specific_version = True
else:
specific_version = False
# Get package state
installed_state = get_package_state(module, name)