summaryrefslogtreecommitdiff
path: root/lib/ansible/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/runner.py')
-rwxr-xr-xlib/ansible/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/runner.py b/lib/ansible/runner.py
index 0b6ede1004..323ebe7122 100755
--- a/lib/ansible/runner.py
+++ b/lib/ansible/runner.py
@@ -471,7 +471,7 @@ class Runner(object):
if self.remote_user == 'root':
metadata = '/etc/ansible/setup'
else:
- metadata = '~/.ansible/setup'
+ metadata = "/home/%s/.ansible/setup" % self.remote_user
# install the template module
slurp_module = self._transfer_module(conn, tmp, 'slurp')