[Ansible pack installation] Get installed st2 version error

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

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.