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:
parent
ef0bc0aa52
commit
42383656e7
1 changed files with 1 additions and 3 deletions
|
@ -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::
|
||||
|
||||
|
|
Loading…
Reference in a new issue