mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Merge pull request #6202 from muffl0n/unarchive_destdir
unarchive: output dest in error-message
This commit is contained in:
@@ -63,7 +63,7 @@ class ActionModule(object):
|
|||||||
|
|
||||||
remote_md5 = self.runner._remote_md5(conn, tmp, dest)
|
remote_md5 = self.runner._remote_md5(conn, tmp, dest)
|
||||||
if remote_md5 != '3':
|
if remote_md5 != '3':
|
||||||
result = dict(failed=True, msg="dest must be an existing dir")
|
result = dict(failed=True, msg="dest '%s' must be an existing dir" % dest)
|
||||||
return ReturnData(conn=conn, result=result)
|
return ReturnData(conn=conn, result=result)
|
||||||
|
|
||||||
if copy:
|
if copy:
|
||||||
|
|||||||
Reference in New Issue
Block a user