mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-05 10:08:58 +00:00
show specific undefined var errors on -v in debug (#32206)
* show specific undefined var errors on -v in debug allows users to get more specific information about undefined errors as they might be looking at a complex data structure and need to find the specific leaf that has the issue * now tests works at all verbosity levels * updated to unicode objects
This commit is contained in:
parent
9d28973b5e
commit
e582a69e9c
2 changed files with 6 additions and 6 deletions
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
- assert:
|
||||
that:
|
||||
- var_undefined.undefined_variable == 'VARIABLE IS NOT DEFINED!'
|
||||
- "'VARIABLE IS NOT DEFINED!' in var_undefined.undefined_variable"
|
||||
- same_value_as_var_name.same_value_as_var_name_var == 'same_value_as_var_name_var'
|
||||
|
||||
- name: cleanup temporary template output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue