1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

using prefered format

(cherry picked from commit a78a0caf10e08200ef3dc82c4b78feeecef0d063)
This commit is contained in:
Brian Coca 2017-03-31 00:32:26 -04:00
parent ef0bc0aa52
commit 42383656e7

View file

@ -161,9 +161,7 @@ Here are some corner cases encountered when updating, these are mostly caused by
This worked 'by accident' as the errors were retemplated and ended up resolving the variable, it was never intended as valid syntax and now properly returns an error, use the following instead.::
with_items: "{{vars['myvar_' + res_of_name]}}"
Or `hostvars[inventory_hostname]['myvar_' + rest_of_name]` if appropriate.
hostvars[inventory_hostname]['myvar_' + rest_of_name]
* Misspelled directives::