mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 04:34:24 -07:00
fix exception on lookup ignore error
no log, so only_log ...
This commit is contained in:
parent
0ea7329553
commit
135ec86eb5
1 changed files with 1 additions and 1 deletions
|
@ -632,7 +632,7 @@ class Templar:
|
||||||
if errors == 'warn':
|
if errors == 'warn':
|
||||||
display.warning(msg)
|
display.warning(msg)
|
||||||
elif errors == 'ignore':
|
elif errors == 'ignore':
|
||||||
display.log(msg)
|
display.display(msg, log_only=True)
|
||||||
else:
|
else:
|
||||||
raise AnsibleError(to_native(msg))
|
raise AnsibleError(to_native(msg))
|
||||||
ran = None
|
ran = None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue