mirror of https://github.com/ansible/ansible.git
Use delegated vars for the delegated host name
In _process_pending_results (strategy/__init__.py), we were using the delegate_to
field directly from the original task, which was not being templated correctly.
As an alternate to #23599, this patch instead pulls the host name out of the delegated
vars passed back in the task result dictionary to avoid having to re-template things.
Fixes #23599
Fixes #20508
(cherry picked from commit e5cd675b38)
pull/24764/head
parent
f7318ec891
commit
7e605f4e84
Loading…
Reference in New Issue