Integrate Ansible with Stackstorm Webui

Integrate Ansible with Stackstorm Webui

I am trying to integrate Ansible with StackStorm and I got stuck. I did all the steps required to install StackStorm and WebUI, on Ubuntu 16.04, the ones that may be found in the link above, on the official site:

Steps to install StackStorm and WebUI


I did the configuration part between StackStorm and WebUI, although I might not understand exactly what I should write down in the st2.conf, for the allow_origin :

[api]
# Host and port to bind the API server.
host = 0.0.0.0
port = 9101
logging = /etc/st2/logging.api.conf
mask_secrets = True
# allow_origin is required for handling CORS in st2 web UI.
# allow_origin =    
allow_origin = 

Instead of: I wrote : , but I don't know if I write the right thing.

Configuration WebUI


The next steps were the installation of Ansible. I installed the packs core:

$st2 pack list
$st2 pack get core

and searched in the Packs section, after that, for Ansible and clicked on the install button. I attached photos:

You may see exactly where it got error: ¬the download pack step was successfully checked, ¬the make a pre-run step was completed, ¬while the last part : install pack dependencies got the status: Failed.


I even tried to manually install it, with the below command:

$sudo st2 pack install ansible

and got the same error:

What am I doing wrong? How should I install Ansible using StackStorm?

Elena Rostova
Author

Elena Rostova

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.