[openstack-dev] [mistral] How to call 3rd-party tools(such as Ansible) in Mistral
WANG, Ming Hao (Tony T)
tony.a.wang at alcatel-lucent.com
Mon Oct 19 10:56:24 UTC 2015
Dmitri,
>From StackStorm's document, it can run Mistral's workflow, and Mistral workflow can call StackStorm custom actions.
Could you please help to explain how it is implemented?
examples.mistral-basic:
description: A basic workflow that runs an arbitrary linux command.
type: direct
input:
- cmd
output:
stdout: <% $.stdout %>
tasks:
task1:
action: core.local cmd=<% $.cmd %> <<<< Here calls StackStorm custom action.
publish:
stdout: <% $.task1.stdout %>
stderr: <% $.task1.stderr %>
Thanks,
Tony
From: Dmitri Zimine [mailto:dzimine at stackstorm.com]
Sent: Sunday, October 18, 2015 1:27 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [mistral] How to call 3rd-party tools(such as Ansible) in Mistral
Tony,
You can also connect Mistral with Ansible via StackStorm and Ansible integration pack:
1) StackStorm http://docs.stackstorm.com
2) https://github.com/StackStorm/st2contrib/tree/master/packs/ansible
StackStorm is open-source Apache 2.0 "wrapper" around Mistral workflow service that integrates 3rd party tools.
Disclosure: I work for StackStorm, I think it's appropriate to pitch here an open source project that addresses the problem.
DZ.
On Oct 15, 2015, at 11:35 PM, WANG, Ming Hao (Tony T) <tony.a.wang at alcatel-lucent.com<mailto:tony.a.wang at alcatel-lucent.com>> wrote:
Dear Mistral developers and testers,
We have developed some Ansible playbooks for operation automation, and we are investigating if we can change the automation engine from Ansible to Mistral since Mistral has powerful workflow control.
Could you please help to provide how to let Mistral call Ansible playbook or Ansible module?
My understanding is to use ssh std_action to let Mistral access Ansible server to call Ansible playbook/modules since Mistral ad-hoc action must base on an existing system action.
Another question is:
If we install Mistral and Ansible on a same server, is it possible to simplify it?
Thanks in advance,
Tony
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org<mailto:OpenStack-dev-request at lists.openstack.org>?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151019/2aa41d3e/attachment.html>
More information about the OpenStack-dev
mailing list