Skip to content
Snippets Groups Projects

Salt cheat sheet

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Florian Klemenz
    Edited
    salt-mgmt.bash 190 B
    # Target all servers running a specific ubuntu version
    salt -G oscodename:jammy test.ping
    salt -G oscodename:jammy cmd.run 'unattended-upgrades'
    salt -G oscodename:jammy service.restart sshd
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment