mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Also make task_executor connect explicitly (v2)
This commit is contained in:
parent
3697d6582f
commit
361eb29146
1 changed files with 1 additions and 0 deletions
|
@ -210,6 +210,7 @@ class TaskExecutor:
|
|||
# get the connection and the handler for this execution
|
||||
self._connection = self._get_connection(variables)
|
||||
self._connection.set_host_overrides(host=self._host)
|
||||
self._connection._connect()
|
||||
|
||||
self._handler = self._get_action_handler(connection=self._connection, templar=templar)
|
||||
|
||||
|
|
Loading…
Reference in a new issue