Skip to content

Ansible playbooks not running with stackstorm on ubuntu 18.04 with ansible pack #40

@lenba

Description

@lenba

OS: Ubuntu 18.04
Installation method: One liner

I have an ansible playbook that runs in ansible fine, but fails in stackstorm using ansible pack.

Error:

"stderr": "Traceback (most recent call last):\n File \"/opt/stackstorm/packs/ansible/actions/ansible_playbook.py\", line 4, in <module>\n from lib.ansible_base import AnsibleBaseRunner\n File \"/opt/stackstorm/packs/ansible/actions/lib/ansible_base.py\", line 4, in <module>\n import shell\nModuleNotFoundError: No module named 'shell'"
Accoring to https://docs.stackstorm.com/install/u18.html

StackStorm on Ubuntu 18.04 runs all services, actions and sensors using Python 3 only. It does not support Python2 actions.

Could this be an issue?

@nmaludy suggested this could be:

bug in the ansible pack or maybe stackstorm core might not be setting up the PYTHONPATH correctly

Could someone have a look?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions