From c5833f986966a507cb88eae530c225a0ab05a4b7 Mon Sep 17 00:00:00 2001 From: Allard Hoeve Date: Wed, 14 May 2014 15:22:02 +0200 Subject: [PATCH] Add missing basedir to Runner in _do_setup_step --- lib/ansible/playbook/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/playbook/__init__.py b/lib/ansible/playbook/__init__.py index 021d62890d..dc1743786c 100644 --- a/lib/ansible/playbook/__init__.py +++ b/lib/ansible/playbook/__init__.py @@ -505,6 +505,7 @@ class PlayBook(object): # push any variables down to the system setup_results = ansible.runner.Runner( + basedir=self.basedir, pattern=play.hosts, module_name='setup', module_args={},