@black3dynamite said in Ansible facts nested variable syntax preference:
Looks like Bracket notation is best choice instead of dot.
Bracket notation always works. Dot notation can cause problems because some keys collide with attributes and methods of python dictionaries. Use bracket notation if you use keys which start and end with two underscores (which are reserved for special meanings in python) or are any of the known public attributes:
Overlooked that in the documentation. While it's less efficient to type [' and '] rather than ., I'll live with it. ๐