mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-09 01:44:03 -07:00
Revert #1818 but avoid double-dwim, fixing relative fileglob
This commit is contained in:
parent
891b1e371a
commit
7782923ea2
2 changed files with 4 additions and 5 deletions
|
@ -56,9 +56,9 @@ class ActionModule(object):
|
|||
if not found:
|
||||
results=dict(failed=True, msg="could not find src in first_available_file list")
|
||||
return ReturnData(conn=conn, result=results)
|
||||
|
||||
source = utils.template(self.runner.basedir, source, inject)
|
||||
source = utils.path_dwim(self.runner.basedir, source)
|
||||
else:
|
||||
source = utils.template(self.runner.basedir, source, inject)
|
||||
source = utils.path_dwim(self.runner.basedir, source)
|
||||
|
||||
local_md5 = utils.md5(source)
|
||||
if local_md5 is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue