mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Disable custom rosters in API
This commit is contained in:
parent
c0e5a1171d
commit
3a8614c5df
1 changed files with 2 additions and 1 deletions
|
@ -119,7 +119,8 @@ class NetapiClient(object):
|
|||
|
||||
:return: Returns the result from the salt-ssh command
|
||||
'''
|
||||
ssh_client = salt.client.ssh.client.SSHClient(mopts=self.opts)
|
||||
ssh_client = salt.client.ssh.client.SSHClient(mopts=self.opts,
|
||||
disable_custom_roster=True)
|
||||
return ssh_client.cmd_sync(kwargs)
|
||||
|
||||
def ssh_async(self, fun, timeout=None, **kwargs):
|
||||
|
|
Loading…
Add table
Reference in a new issue