LinuxCommandLibrary

salt-run

Execute Salt runner modules on the master

TLDR

List connected minions

$ salt-run manage.up
copy
List disconnected minions
$ salt-run manage.down
copy
Run orchestration
$ salt-run state.orchestrate [orch.deploy]
copy
Show job status
$ salt-run jobs.lookup_jid [job_id]
copy
Check minion versions
$ salt-run manage.versions
copy

SYNOPSIS

salt-run [options] function [arguments...]

DESCRIPTION

salt-run executes runner modules on the Salt master. Runners handle master-side operations like orchestration, job management, and cluster-wide tasks. Part of SaltStack configuration management.

PARAMETERS

manage.up

List online minions.
manage.down
List offline minions.
state.orchestrate sls
Run orchestration state.
jobs.list_jobs
List recent jobs.
jobs.lookup_jid jid
Get job results.
--output format
Output format.

SEE ALSO

salt(1), salt-call(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community