diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index 075a9fba83..d976b70cf0 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -567,7 +567,7 @@ class Runner(object): metadata = '/etc/ansible/setup' else: # path is expanded on remote side - metadata = "~/.ansible/setup" + metadata = "~/.ansible/tmp/.ansible/setup" # install the template module slurp_module = self._transfer_module(conn, tmp, 'slurp')