Merge pull request #11124 from sivel/jit-connect

Use a decorator to perform just in time connection
This commit is contained in:
Brian Coca
2015-06-05 11:38:17 -04:00
6 changed files with 44 additions and 3 deletions

View File

@@ -210,7 +210,6 @@ 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)