mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
[#61650] Strip spaces from ssh config parameters
This commit is contained in:
parent
6a2cb1e1df
commit
ee969de055
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ def parse_ssh_config(lines):
|
|||
for field in _ROSTER_FIELDS:
|
||||
match = re.match(field.pattern, line)
|
||||
if match:
|
||||
target[field.target_field] = match.group(1)
|
||||
target[field.target_field] = match.group(1).strip()
|
||||
for hostname in hostnames:
|
||||
targets[hostname] = target
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue