Call an Ansible module as a function from the Salt.
(*args, **kwargs)
| 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 |