diff --git a/lib/ansible/playbook/__init__.py b/lib/ansible/playbook/__init__.py index 021d62890dc..dc1743786c0 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={},