From 277351231b036e94929aa1391143cfac80310ef7 Mon Sep 17 00:00:00 2001 From: micafer Date: Tue, 19 Sep 2017 14:11:55 +0200 Subject: [PATCH] Fix #410 --- IM/ansible_utils/ansible_executor_v2.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/IM/ansible_utils/ansible_executor_v2.py b/IM/ansible_utils/ansible_executor_v2.py index 75702d655..b2c5117b3 100644 --- a/IM/ansible_utils/ansible_executor_v2.py +++ b/IM/ansible_utils/ansible_executor_v2.py @@ -371,8 +371,6 @@ def run(self): for playbook_path in self._playbooks: pb = Playbook.load( playbook_path, variable_manager=self._variable_manager, loader=self._loader) - self._inventory.set_playbook_basedir( - os.path.dirname(playbook_path)) # make sure the tqm has callbacks loaded self._tqm.load_callbacks()