salt.runners.ssh

A Runner module interface on top of the salt-ssh Python API.

This allows for programmatic use from salt-api, the Reactor, Orchestrate, etc.

salt.runners.ssh.cmd(tgt, fun, arg=(), timeout=None, expr_form='glob', kwarg=None)

Execute a single command via the salt-ssh subsystem and return all routines at once

New in version 2015.5.0.

A wrapper around the SSHClient.cmd method.

Docs for previous releases are available on readthedocs.org.

Latest Salt release: 2015.8.3

Previous topic

salt.runners.sdb

Next topic

salt.runners.search