Files
cheatsheet-tldr/tldr/salt-call

26 lines
570 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 debug state.highstate`
- List this minion's grains:
`salt-call grains.items`