Fix stacktrace when fail_on_error is False and a file cannot be parsed. (#49987)

This commit is contained in:
Felix Fontein 2018-12-16 21:26:29 +01:00 committed by ansibot
parent c0dbc1a441
commit 65d5f1a4ef

View file

@ -230,6 +230,7 @@ def load_PEM_list(module, path, fail_on_error=True):
module.fail_json(msg=msg)
else:
module.warn(msg)
return []
class CertificateSet(object):