ansible/changelogs/fragments/delegate_has_hostvars.yml
Brian Coca 84adaba6f5
Allow hostvars delegation (#70331)
* ensure hostvars are available on delegation
* also inventory_hostname must point to current host and not delegated one
* fix get_connection since it was still mixing original host vars and delegated ones
* also return connection vars for delegation and non delegation alike
* add test to ensure we have expected usage when directly assigning for non delegated host
2020-07-22 11:13:57 -04:00

4 lines
272 B
YAML

bugfixes:
- ensure delegated vars can resolve hostvars object and access vars from hostvars[inventory_hostname].
- fix issue with inventory_hostname and delegated host vars mixing on connection settings.
- add magic/connection vars updates from delegated host info.