diff --git a/teuthology/task/ansible.py b/teuthology/task/ansible.py index 1d487ab50..6ccdc7664 100644 --- a/teuthology/task/ansible.py +++ b/teuthology/task/ansible.py @@ -363,7 +363,7 @@ def _handle_failure(self, command, status): try: analyzer = FailureAnalyzer() failures = analyzer.analyze(fail_log) - except yaml.YAMLError as e: + except Exception as e: log.error( "Failed to parse ansible failure log: {0} ({1})".format( self.failure_log.name, e