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()