mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Fix stacktrace when fail_on_error is False and a file cannot be parsed. (#49987)
This commit is contained in:
@@ -230,6 +230,7 @@ def load_PEM_list(module, path, fail_on_error=True):
|
|||||||
module.fail_json(msg=msg)
|
module.fail_json(msg=msg)
|
||||||
else:
|
else:
|
||||||
module.warn(msg)
|
module.warn(msg)
|
||||||
|
return []
|
||||||
|
|
||||||
|
|
||||||
class CertificateSet(object):
|
class CertificateSet(object):
|
||||||
|
|||||||
Reference in New Issue
Block a user