From bbf2939063127861ebd46fba40780f2fb86f1fc1 Mon Sep 17 00:00:00 2001
From: alex <alex@zabimaru.(none)>
Date: Mon, 2 Jul 2012 21:34:11 +0200
Subject: [PATCH] Fixed: executing templates outside playbooks

---
 lib/ansible/runner/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py
index 075a9fba838..d976b70cf0f 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')