mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Remove unused assignment
This commit is contained in:
@@ -417,7 +417,6 @@ class Runner(object):
|
|||||||
# fetch the file and check for changes
|
# fetch the file and check for changes
|
||||||
conn.fetch_file(source, dest)
|
conn.fetch_file(source, dest)
|
||||||
new_md5 = os.popen("md5sum %s" % dest).read().split()[0]
|
new_md5 = os.popen("md5sum %s" % dest).read().split()[0]
|
||||||
changed = (new_md5 != local_md5)
|
|
||||||
if new_md5 != remote_md5:
|
if new_md5 != remote_md5:
|
||||||
return (host, True, dict(failed=True, msg="md5 mismatch", md5sum=new_md5), '')
|
return (host, True, dict(failed=True, msg="md5 mismatch", md5sum=new_md5), '')
|
||||||
return (host, True, dict(changed=True, md5sum=new_md5), '')
|
return (host, True, dict(changed=True, md5sum=new_md5), '')
|
||||||
|
|||||||
Reference in New Issue
Block a user