Deploying Stackstorm to a server with Ansible

The information about deploying stackstorm to a server with ansible is in the stackstorm docs.

Importantly the galaxy role can’t really be used like a normal ansible-galaxy role.

You have to clone the repo:

git clone
cd ansible-st2

Then update the inventory, for example in inventory:

st2 ansible_host= ansible_user=cent ansible_sudo_pass=pass

Run the playbook:

ansible-playbook -i inventory stackstorm.yml


Check your version on the managed host:

st2 --version

Installing Ansible Pack

If you check the stackstorm ansible pack some requirements are required beforehand.

sudo yum install gcc krb5-devel

I then installed python36 and python36-pip.

The pack then installed from the backend.