This commit is contained in:
Bo Maryniuk 2016-10-24 15:23:48 +02:00
parent 0d7af935e5
commit 8d1450cc47

View file

@ -215,7 +215,7 @@ class SSH(object):
raise salt.exceptions.SaltSystemExit('No ssh binary found in path -- ssh must be installed for salt-ssh to run. Exiting.')
self.opts['_ssh_version'] = ssh_version()
self.tgt_type = self.opts['selected_target_option'] \
if self.opts['selected_target_option'] else 'glob'
if self.opts['selected_target_option'] else 'glob'
self.roster = salt.roster.Roster(opts, opts.get('roster', 'flat'))
self.targets = self.roster.targets(
self.opts['tgt'],