File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/thorium/wheel.py
Back
""" React by calling asynchronous runners """ import salt.wheel def cmd(name, fun=None, arg=(), **kwargs): """ Execute a runner asynchronous: USAGE: .. code-block:: yaml run_cloud: wheel.cmd: - fun: key.delete - match: minion_id """ ret = {"name": name, "changes": {}, "comment": "", "result": True} if fun is None: fun = name client = salt.wheel.WheelClient(__opts__) low = {"fun": fun, "arg": arg, "kwargs": kwargs} client.cmd_async(low) return ret
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings