mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-21 00:01:08 +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)
|
||||
else:
|
||||
module.warn(msg)
|
||||
return []
|
||||
|
||||
|
||||
class CertificateSet(object):
|
||||
|
||||
Reference in New Issue
Block a user