Skip to main content

Test Ansible roles with Vagrant, similar to Test Kitchen

Project description

Messier

https://img.shields.io/pypi/v/messier.svg https://img.shields.io/travis/conorsch/messier.svg Documentation Status

Test Ansible roles with Vagrant. Inspired by Test Kitchen.

Features

  • 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

Motivation

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.

Name

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:

TODO

  • Add init command for bootstrapping Messier config

License

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

History

0.1.0 (2015-12-13)

  • First release on PyPI.

Project details


Download files

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

Source Distribution

messier-0.1.1.tar.gz (17.1 kB view details)

Uploaded Source

File details

Details for the file messier-0.1.1.tar.gz.

File metadata

  • Download URL: messier-0.1.1.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for messier-0.1.1.tar.gz
Algorithm Hash digest
SHA256 29ddd6a1fde0988ae43ceb737b8244c8eb90522070330428dd411754165c6e11
MD5 480d67722a328fa81603026c8a851a23
BLAKE2b-256 2fe7e9d433856a0e509de93a6ffc045c15fca43ed751af9a41c34e7903c1bd55

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page