mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #11135 from sivel/issue/11130-2
If remote_addr isn't set, set to ipv4_address
This commit is contained in:
commit
9cd5c8092e
1 changed files with 3 additions and 0 deletions
|
@ -371,6 +371,9 @@ class TaskExecutor:
|
|||
# FIXME: delegate_to calculation should be done here
|
||||
# FIXME: calculation of connection params/auth stuff should be done here
|
||||
|
||||
if not self._connection_info.remote_addr:
|
||||
self._connection_info.remote_addr = self._host.ipv4_address
|
||||
|
||||
if self._task.delegate_to is not None:
|
||||
self._compute_delegate(variables)
|
||||
|
||||
|
|
Loading…
Reference in a new issue