mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-06 00:14:02 -07:00
Move persistent connections to only use registered variables (#45616)
* Try to intuit proper plugins to send to ansible-connection * Move sub-plugins to init so that vars will be populated in executor * Fix connection unit tests
This commit is contained in:
parent
86c48205c4
commit
406b59aeba
10 changed files with 98 additions and 109 deletions
|
@ -186,7 +186,7 @@ class Connection(NetworkConnectionBase):
|
|||
|
||||
self.napalm.open()
|
||||
|
||||
self._implementation_plugins.append(self.napalm)
|
||||
self._sub_plugins.append({'type': 'external', 'name': 'napalm', 'obj': self.napalm})
|
||||
display.vvvv('created napalm device for network_os %s' % self._network_os, host=host)
|
||||
self._connected = True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue