This is a tool for automation in DevOps. Compared to other automation tools like Ansible or SaltStack. Stackstorm automates via triggers/actions. An action is any task you give it, eg. hello word, snapshotting vm, sending notifications.
An action requires a rule. These are often yaml files. These files must contain a name and an action.
Now in order to fire these actions, you must login to stackstorm2. Run these commands:
-
st2 login st2admin —password idunno
-
st2 action list -p core
- We can pick a package api to run. For example:
st2 run core.http url=“http://httpbin.org/get”
It will return what it finds on the webpage