mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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._last_response = None
|
||||
self._history = list()
|
||||
self._play_context = play_context
|
||||
|
||||
self._local = connection_loader.get('local', play_context, '/dev/null')
|
||||
self._local.set_options()
|
||||
|
|
Loading…
Reference in a new issue