1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #6713 from hfinucane/sshconfdotpy

Make ssh_config paramiko 1.12/1.13 compatible
This commit is contained in:
Michael DeHaan 2014-03-27 10:36:14 -04:00
commit 1faa840b67

View file

@ -63,7 +63,8 @@ def get_config():
for d in cfg._config:
_copy = dict(d)
del _copy['host']
ret_dict[d['host']] = _copy
for host in d['host']:
ret_dict[host] = _copy['config']
return ret_dict