mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
Remove cliconf from httpapi connection (#46813)
* Bare minimum rip out cliconf * nxapi changeover * Update documentation, move options * Memoize device_info * Gratuitous rename to underscore use of local api implementation Fixup eos module_utils like nxos * Streamline version and image scans * Expose get_capabilities through module_utils * Add load_config to module_utils * Support rpcs using both args and kwargs * Add get_config for nxos * Add get_diff * module context, pulled from nxapi We could probably do this correctly later * Fix eos issues * Limit connection._sub_plugin to only one plugin
This commit is contained in:
parent
32dbb99bb8
commit
02432565cd
14 changed files with 568 additions and 255 deletions
|
@ -900,9 +900,9 @@ class TaskExecutor:
|
|||
final_vars = combine_vars(variables, variables.get('ansible_delegated_vars', dict()).get(self._task.delegate_to, dict()))
|
||||
|
||||
option_vars = C.config.get_plugin_vars('connection', connection._load_name)
|
||||
for plugin in connection._sub_plugins:
|
||||
if plugin['type'] != 'external':
|
||||
option_vars.extend(C.config.get_plugin_vars(plugin['type'], plugin['name']))
|
||||
plugin = connection._sub_plugin
|
||||
if plugin['type'] != 'external':
|
||||
option_vars.extend(C.config.get_plugin_vars(plugin['type'], plugin['name']))
|
||||
|
||||
options = {}
|
||||
for k in option_vars:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue