snippetbashTip
salt-call — Invoke salt locally on a salt minion. More information: <https://docs.saltproject.io/en/latest/ref/c
Viewed 0 times
commandinvokeminionsaltsalt-callclilocally
Problem
How to use the
salt-call command: Invoke salt locally on a salt minion. More information: <https://docs.saltproject.io/en/latest/ref/cli/salt-call.html>.Solution
salt-call — Invoke salt locally on a salt minion. More information: <https://docs.saltproject.io/en/latest/ref/cli/salt-call.html>.Perform a highstate on this minion:
salt-call state.highstatePerform a highstate dry-run, compute all changes but don't actually perform them:
salt-call state.highstate test=truePerform a highstate with verbose debugging output:
salt-call {{[-l|--log-level]}} debug state.highstateList this minion's grains:
salt-call grains.itemsCode Snippets
Perform a highstate on this minion
salt-call state.highstatePerform a highstate dry-run, compute all changes but don't actually perform them
salt-call state.highstate test=truePerform a highstate with verbose debugging output
salt-call {{[-l|--log-level]}} debug state.highstateList this minion's grains
salt-call grains.itemsContext
tldr-pages: common/salt-call
Revisions (0)
No revisions yet.