salt Command Examples

Execute commands and assert state on remote salt minions. More information: https://docs.saltproject.io/en/latest/ref/cli/index.html.

salt '*' test.ping

salt '*' state.highstate

salt '*.example.com' pkg.upgrade

salt '{{minion_id}}' cmd.run "ls "