2025-03-14 21:59:59 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`salt-call {{[-l|--log-level]}} debug state.highstate`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List this minion's grains:
|
|
|
|
|
|
|
|
|
|
`salt-call grains.items`
|