Files
cheatsheet-tldr/tldr/salt-call
2025-04-23 00:19:06 +00:00

26 lines
588 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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.highstate`
- Perform a highstate dry-run, compute all changes but don't actually perform them:
`salt-call state.highstate test=true`
- Perform a highstate with verbose debugging output:
`salt-call {{[-l|--log-level]}} debug state.highstate`
- List this minion's grains:
`salt-call grains.items`