Fix network_cli connection issue (#33420)
* Copy play_context in network_cli connection class
This commit is contained in:
parent
0d5b1a1567
commit
fe702b48a5
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ class Connection(ConnectionBase):
|
||||||
self._matched_pattern = None
|
self._matched_pattern = None
|
||||||
self._last_response = None
|
self._last_response = None
|
||||||
self._history = list()
|
self._history = list()
|
||||||
|
self._play_context = play_context
|
||||||
|
|
||||||
self._local = connection_loader.get('local', play_context, '/dev/null')
|
self._local = connection_loader.get('local', play_context, '/dev/null')
|
||||||
self._local.set_options()
|
self._local.set_options()
|
||||||
|
|
Loading…
Reference in a new issue