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!

Test Ansible roles with Vagrant, similar to Test Kitchen

Project Description


Test Ansible roles with Vagrant. Inspired by Test Kitchen.


  • Supports multi-machine roles
  • Permits reboots during provisioning
  • Use any backend provider available in Vagrant (VirtualBox, AWS, DigitalOcean, etc.)
  • Runs Serverspec tests per role via ansible_spec
  • Integrates with preexisting Serverspec setups


Test Kitchen is a wonderful solution for testing system configuration—if you use Chef. Its support for Ansible is, however, lacking. Similar Packer, Test Kitchen tries to run Ansible in “local” mode, which makes it impossible to test multi-machine roles for service orchestration. Well-meaning projects such as kitchen-ansiblepush (not to be mistaken with Ansible pull mode) enable more traditional Ansible usage patterns, but still suffer from limitations such as reboots always triggering failure.

In order to simplify setup, Test Kitchen makes the concession that testing VMs are polluted with additional software in order to accommodate test running. Serverspec has an SSH transport built into it, and Test Kitchen ignores that functionality completely.


Messier was a comet hunter, and didn’t much care for galaxies or nebula. He only kept track of non-comet objects so he wouldn’t bother inspecting them further. Similarly, the messier tool, particularly the messier ci subcommand, considers working configurations forgettable, and flag only failures for follow-up work. The name is also brutally honest, in that the heavy Vagrant dependency will make your configuration projects messier. :wink:


  • Add init command for bootstrapping Messier config


GPLv3 (would like to use MIT, but if import ansible appears, then it must be GPLv3).


0.1.0 (2015-12-13)

  • First release on PyPI.

Release History

This version
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.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(17.1 kB) Copy SHA256 Hash SHA256
Source Jan 12, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting