mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #49312 from Ch3LL/ssh_list_hosts
Fix keyerror in manage.bootstrap
This commit is contained in:
commit
d70eda8954
1 changed files with 1 additions and 1 deletions
|
@ -702,7 +702,7 @@ class SSH(object):
|
|||
'''
|
||||
Execute the overall routine, print results via outputters
|
||||
'''
|
||||
if self.opts['list_hosts']:
|
||||
if self.opts.get('list_hosts'):
|
||||
self._get_roster()
|
||||
ret = {}
|
||||
for roster_file in self.__parsed_rosters:
|
||||
|
|
Loading…
Add table
Reference in a new issue