Created
May 13, 2016 18:13
-
-
Save PeterS242/5b3955f196a9bfbad474395bd62c54a6 to your computer and use it in GitHub Desktop.
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
[root@swlx17 ~]# salt linux --async cmd.run 'echo Hello test.' | |
Executed command with job ID: 20160513131049252101 | |
[root@swlx17 ~]# salt-run jobs.print_job 20160513131049252101 | |
20160513131049252101: | |
---------- | |
Arguments: | |
- echo Hello test. | |
Function: | |
cmd.run | |
Minions: | |
- linux | |
Result: | |
---------- | |
StartTime: | |
2016, May 13 13:10:49.252101 | |
Target: | |
linux | |
Target-type: | |
glob | |
User: | |
sudo_s52810 | |
[root@swlx17 ~]# | |
[root@swlx17 ~]# salt linux cmd.run 'echo Hello extra test.' | |
linux: | |
Hello extra test. | |
[root@swlx17 ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment