diff --git a/lib/ansible/playbook/__init__.py b/lib/ansible/playbook/__init__.py index ab3732b41fe..37b3ee75034 100644 --- a/lib/ansible/playbook/__init__.py +++ b/lib/ansible/playbook/__init__.py @@ -63,7 +63,7 @@ class Playbook: # set the loaders basedir self._loader.set_basedir(self._basedir) - # dynamically load any plugins from the role directory + # dynamically load any plugins from the playbook directory for name, obj in get_all_plugin_loaders(): if obj.subdir: plugin_path = os.path.join(self._basedir, obj.subdir)