mirror of https://github.com/ansible/ansible.git
Don't use local transport for delegated hosts if the inventory_hostname isn't local
For some situations like Vagrant, the remote_addr may be a localhost addr, but ssh is still desired. This corrects the assumption that any localhost remote_addr should be using the local connection by checking the inventory_hostname value as well. Fixes #12817pull/12846/head
parent
99e7bb35c1
commit
b46ce47a84
Loading…
Reference in New Issue