mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Make ssh_config paramiko 1.12/1.13 compatible
This commit is contained in:
@@ -63,7 +63,8 @@ def get_config():
|
|||||||
for d in cfg._config:
|
for d in cfg._config:
|
||||||
_copy = dict(d)
|
_copy = dict(d)
|
||||||
del _copy['host']
|
del _copy['host']
|
||||||
ret_dict[d['host']] = _copy
|
for host in d['host']:
|
||||||
|
ret_dict[host] = _copy['config']
|
||||||
return ret_dict
|
return ret_dict
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user