MCPcopy Create free account
hub / github.com/saltstack/salt / _cmd

Function _cmd

salt/modules/ansiblegate.py:73–77  ·  view source on GitHub ↗

Call an Ansible module as a function from the Salt.

(*args, **kwargs)

Source from the content-addressed store, hash-verified

71 """
72
73 def _cmd(*args, **kwargs):
74 """
75 Call an Ansible module as a function from the Salt.
76 """
77 return call(real_cmd_name, *args, **kwargs)
78
79 _cmd.__doc__ = doc
80 return _cmd

Callers

nothing calls this directly

Calls 1

callFunction · 0.70

Tested by

no test coverage detected