Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Mistral actions should be installed as Python packages. This means that generally you want to create a setup.py file and then install it with "pip install ." in the same directory.

Installing actions is a three step process: 1. Install the Python package 2. run mistral-db-manage populate so that Mistral finds the new action and registers in in the database. 3. Restart Mistral, so that it can find the new Python packages.

For a small and simple example, see my custom actions for calling Ansible. https://github.com/d0ugal/mistral-ansible-actions