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 https://github.com/StackStorm/ansible-st2
cd ansible-st2
Then update the inventory, for example in inventory
:
st2 ansible_host=10.200.1.76 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.