diff --git a/lib/ansible/utils/plugins.py b/lib/ansible/utils/plugins.py index 14953d8f44a..4606f6cee31 100644 --- a/lib/ansible/utils/plugins.py +++ b/lib/ansible/utils/plugins.py @@ -165,7 +165,7 @@ class PluginLoader(object): else: suffixes = ['.py', ''] - potential_names = frozenset('%s%s' % (name, s) for s in suffixes) + potential_names = list('%s%s' % (name, s) for s in suffixes) for full_name in potential_names: if full_name in self._plugin_path_cache: return self._plugin_path_cache[full_name]