Search code examples
salt-project

Is there a way to run "sys.list_modules" command without a minion?


As far as the documentation goes, if one would like to query for available execution modules, the following command should be used:

salt '<minion_name>' sys.list_modules

My question is, - whether it possible to run the above without a minion?
(e.g salt sys.list_modules , isn't it cleaner?)


Solution

  • If you just want to know all the modules available to you, or the latest modules available for the current saltstack version.

    salt-call --local sys.list_modules