diff --git a/lib/ansible/playbook/__init__.py b/lib/ansible/playbook/__init__.py index b216392ae0..456c7f546a 100644 --- a/lib/ansible/playbook/__init__.py +++ b/lib/ansible/playbook/__init__.py @@ -133,7 +133,7 @@ class PlayBook(object): self.inventory = inventory if self.module_path is not None: - utils.plugins.module_finder.add_directory(self.module_path) + utils.plugins.module_finder.add_directory(self.module_path) self.basedir = os.path.dirname(playbook) or '.' utils.plugins.push_basedir(self.basedir)