From 70c9028e1e94444b26d55bead97e4964e25402c0 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 2 Nov 2013 09:34:05 -0400 Subject: [PATCH] include_vars plugin should look in vars/ path for a role. --- lib/ansible/runner/action_plugins/include_vars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/action_plugins/include_vars.py b/lib/ansible/runner/action_plugins/include_vars.py index 9ec8c90913e..5a1f69a6c50 100644 --- a/lib/ansible/runner/action_plugins/include_vars.py +++ b/lib/ansible/runner/action_plugins/include_vars.py @@ -38,7 +38,7 @@ class ActionModule(object): source = template.template(self.runner.basedir, source, inject) if '_original_file' in inject: - source = utils.path_dwim_relative(inject['_original_file'], 'files', source, self.runner.basedir) + source = utils.path_dwim_relative(inject['_original_file'], 'vars', source, self.runner.basedir) else: source = utils.path_dwim(self.runner.basedir, source)