Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A Mistral action to execute Ansible playbooks

Project Description

Mistral Actions for Ansible

Note: This project is experimental and in infancy. It might work for you.

However, given interested users and the time I’d like to make it stable and useful - so input and help is very welcome!


The actions can be installed via pip, then we need to tell Mistral about them and restart Mistral:

pip install mistral-ansible-actions;
sudo mistral-db-manage populate;
systemctrl restart openstack-mistral*;


Calling ansible:

action: ansible
  hosts: '*'
  module: copy
  module_args: 'src=file.txt dest=/root/file.txt'
  remote_user: stack
  become: true
  become_user: root

Call ansible playbook:

action: ansible-playbook
  limit_hosts: overcloud-controller-0
  playbook: /home/stack/ansible/my_playbook.yaml
  remote_user: stack
  become: true
  become_user: root


  • We only support a subset of args ansible and ansible-playbook commands, more should be exposed. Maybe we can automatically add them all somehow?

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(3.7 kB) Copy SHA256 Hash SHA256
Source None May 26, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers