f1db8985e3
* Don't use task to cache loop results, use hostvars. Fixes #47207
* Avoid a race condition, supply _ansible_loop_cache through get_vars directly
* Add tests
* Add changelog fragment
* Remove unnecessary copy
* Remove unnecessary host from _get_delegated_vars signature.
(cherry picked from commit 77d32b8f57
)
Co-authored-by: Matt Martz <matt@sivel.net>
2 lines
227 B
YAML
2 lines
227 B
YAML
bugfixes:
|
|
- delegate_to - When templating ``delegate_to`` in a loop, don't use the task for a cache, return a special cache through ``get_vars`` allowing looping over a hostvar (https://github.com/ansible/ansible/issues/47207)
|