On Tue, 18 May 2021 14:54:07 +0200
Martin Krizek <[email protected]> wrote:

> This is effectively a side-effect of functionality in Ansible's
> templating engine that allows nesting variables ...

FWIW, one more of this kind not mentioned yet, I think

    - debug:
        var: my_dict.a
      vars:
        my_dict:
          a: test value
          b: "{{ undefined_var }}"

gives

    my_dict.a: VARIABLE IS NOT DEFINED!

-- 
Vladimir Botka

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20210518162057.67a1855b%40gmail.com.

Attachment: pgpp_B5Apek_Y.pgp
Description: OpenPGP digital signature

Reply via email to