-
-
Save PredatorVI/5397a9c184c8f4bfa433 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
#This works when called on the salt-master command-line | |
salt-run state.orchestrate orchestration.myorch pillar='{"primary": "minion01", "secondary": ["minion02", "minion03"]}' | |
#This WORKS | |
curl -sSk https://salt-test:8000/run \ | |
-H 'Content-Type: application/json' \ | |
-H 'Accept: application/json' \ | |
-d '[{"client": "runner", "eauth": "pam", "username": "me", "password":"goaway", "fun":"state.orchestrate", "mods": "orchestration.myorch", "pillar": {"primary": "minion01", "secondary": ["minion02", "minion03"]}}]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try something like: