Dot vs. array notation (foo.bar / foo['bar']) in variables #2990
Unanswered
MarkusTeufelberger
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
See: https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#ansible-allows-dot-notation-and-array-notation-for-variables-which-notation-should-i-use
Ansible-lint should at the very least detect risky usages and maybe even (optionally?) disallow dot notation alltogether.
Beta Was this translation helpful? Give feedback.
All reactions