StackStorm / ansible-st2

Ansible Roles and Playbooks to deploy StackStorm
https://galaxy.ansible.com/StackStorm/stackstorm/
Apache License 2.0
100 stars 75 forks source link

First run of the playbook: Pack "st2" is not found. #251

Closed surfer190 closed 4 years ago

surfer190 commented 4 years ago

OS Version: CentOS Linux release 7.6.1810 Ansible st2 version: https://github.com/StackStorm/ansible-st2/tree/v1.3.0 Ansible version: ansible 2.7.6

Using the following host_vars:

---

...
st2_config: {}

st2_packs: []

Gives:

TASK [StackStorm.st2smoketests : Verify if st2 pack was installed] *************************************************************************
fatal: [st2]: FAILED! => {"changed": false, "cmd": ["st2", "pack", "get", "st2"], "delta": "0:00:00.708317", "end": "2019-09-12 09:03:10.273644", "msg": "non-zero return code", "rc": 2, "start": "2019-09-12 09:03:09.565327", "stderr": "", "stderr_lines": [], "stdout": "Pack \"st2\" is not found.", "stdout_lines": ["Pack \"st2\" is not found."]}