file mode now correctly set after chaining from copy

This commit is contained in:
Jan-Piet Mens 2012-07-24 16:43:36 +02:00
parent fef53b1a9e
commit 44a9226ece

View file

@ -317,7 +317,6 @@ class Runner(object):
conn.put_file(source, tmp_src)
# run the copy module
self.module_args = "src=%s dest=%s" % (tmp_src, dest)
return self._execute_module(conn, tmp, 'copy', self.module_args, inject=inject).daisychain('file')
else: