diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2016-08-04 11:32:08 -0400 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2016-08-04 11:32:08 -0400 |
commit | b0786a1845366a5fb81a40f7a8fd42d556556f7a (patch) | |
tree | 5020818040bda46acdf158e96a48b248af6ea4f8 /lib/ansible/plugins/__init__.py | |
parent | 98c149859a1d45f4d3e28385b6725448a7c8a8ce (diff) | |
download | ansible-b0786a1845366a5fb81a40f7a8fd42d556556f7a.tar.gz |
actually skip bad/broken module files found
Diffstat (limited to 'lib/ansible/plugins/__init__.py')
-rw-r--r-- | lib/ansible/plugins/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ansible/plugins/__init__.py b/lib/ansible/plugins/__init__.py index 19b217319e..4daf277b71 100644 --- a/lib/ansible/plugins/__init__.py +++ b/lib/ansible/plugins/__init__.py @@ -371,6 +371,7 @@ class PluginLoader: obj = getattr(self._module_cache[path], self.class_name) except AttributeError as e: display.warning("Skipping plugin (%s) as it seems to be invalid: %s" % (path, to_unicode(e))) + continue if self.base_class: # The import path is hardcoded and should be the right place, |