HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

salt-call — Invoke salt locally on a salt minion. More information: <https://docs.saltproject.io/en/latest/ref/c

Submitted by: @import:tldr-pages··
0
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.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

Code Snippets

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

Context

tldr-pages: common/salt-call

Revisions (0)

No revisions yet.