mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix network_cli connection issue (#33420)
* Copy play_context in network_cli connection class
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user