created temp action obj for 'meta: reset_connection' python interpreter discovery
This commit is contained in:
parent
5b8c9da769
commit
c959ce010b
|
@ -889,11 +889,17 @@ class Connection(ansible.plugins.connection.ConnectionBase):
|
||||||
self.reset_compat_msg
|
self.reset_compat_msg
|
||||||
)
|
)
|
||||||
|
|
||||||
# TODO
|
|
||||||
# Strategy's _execute_meta doesn't have an action obj but we'll need one for
|
# Strategy's _execute_meta doesn't have an action obj but we'll need one for
|
||||||
# running interpreter_discovery
|
# running interpreter_discovery
|
||||||
# self._action = ansible_mitogen.mixins.ActionModuleMixin
|
# will create a new temporary action obj for this purpose
|
||||||
# import epdb; epdb.set_trace()
|
self._action = ansible_mitogen.mixins.ActionModuleMixin(
|
||||||
|
task=0,
|
||||||
|
connection=self,
|
||||||
|
play_context=self._play_context,
|
||||||
|
loader=0,
|
||||||
|
templar=0,
|
||||||
|
shared_loader_obj=0
|
||||||
|
)
|
||||||
|
|
||||||
# Clear out state in case we were ever connected.
|
# Clear out state in case we were ever connected.
|
||||||
self.close()
|
self.close()
|
||||||
|
|
Loading…
Reference in New Issue