mirror of https://github.com/ansible/ansible.git
Fetch vars for host directly when calculating the delegated user
This fixes the case in which the delegated to host may not be in the specified hosts list, in which cases facts/vars for the host were not available in the injected hostvars. This also fixes the inventory variable fetching function, so that an unknown host raises a proper error as opposed to a NoneType exception. Fixes #8224pull/9310/head
parent
2a0d18b092
commit
d19fe8d95d
Loading…
Reference in New Issue