Add known_hosts_file to salt-ssh opts_pkg in wfuncs

This commit is contained in:
Ch3LL 2017-11-16 11:10:21 -05:00
parent 913eedc699
commit b98df6de24
No known key found for this signature in database
GPG key ID: 132B55A7C13EFA73

View file

@ -903,6 +903,8 @@ class Single(object):
ret = json.dumps({'local': opts_pkg})
return ret, retcode
if 'known_hosts_file' in self.opts:
opts_pkg['known_hosts_file'] = self.opts['known_hosts_file']
opts_pkg['file_roots'] = self.opts['file_roots']
opts_pkg['pillar_roots'] = self.opts['pillar_roots']
opts_pkg['ext_pillar'] = self.opts['ext_pillar']