Created
March 8, 2015 10:28
-
-
Save bitmand/1c2c1119d27727ac33d4 to your computer and use it in GitHub Desktop.
Running salt "locally" over ssh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ alias salt='ssh -t saltmaster.example.com "sudo salt $1"' | |
$ salt '*' test.ping | |
[sudo] password for user: | |
host1.example.com: | |
True | |
host2.example.com: | |
True | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment