This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

⚠️ We've moved!

Hi there!

To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.

Use 🔗 Github Discussions to ask your questions.

[Ansible pack installation] Get installed st2 version error

Hi
I’m facing with that error during installation from ansible package:

TASK [stackstorm/StackStorm.st2 : Get installed st2 version] ********************************************************************************************************************************************************************************
fatal: [stackstorm_test]: FAILED! => {“changed”: false, “cmd”: ["/opt/stackstorm/st2/bin/python", “-c”, “import st2common; print st2common.version”], “delta”: “0:00:00.025093”, “end”: “2019-11-13 13:50:12.874074”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-11-13 13:50:12.848981”, “stderr”: " File “”, line 1\n import st2common; print st2common.version\n ^\nSyntaxError: invalid syntax", “stderr_lines”: [" File “”, line 1", " import st2common; print st2common.version", " ^", “SyntaxError: invalid syntax”], “stdout”: “”, “stdout_lines”: []}

Does anybody know where is problem?
My environment:
Server OS: Ubuntu 18.04.1 LTS
St2 version: st2 3.1.0, on Python 3.6.8
Any suggestion?
Thank you
Best!

StackStorm installation on Ubuntu Bonic is not officially supported by ansible-st2 yet.
See the list of supported OS platforms GitHub - StackStorm/ansible-st2: Ansible Roles and Playbooks to deploy StackStorm by the StackStorm Ansible role (https://galaxy.ansible.com/StackStorm/stackstorm)

We’d also happy to accept PRs and contributions to improve this.