Skip to main content

An ansible testing framework

Project description

Ansible-test is a tool for testing your automation in docker containers. It works a little bit like chef’s kitchen.

usage: ansible-test [-h] [--ansible ANSIBLE] [--image IMAGE] role roles_path

positional arguments:
   role                  Define the role to test
   roles_path            Define the path to the roles (like in ansible.cfg)

optional arguments:
   -h, --help            show this help message and exit
   --ansible ANSIBLE, -a ANSIBLE
                     The ansible version to install
   --image IMAGE, -i IMAGE
                     The docker base image to test the role/playbook on.

Installation

To install ansible-test:

$ pip install ansible-test

Documentation

ansible-test requires that you have docker installed locally. If you are using Mac OSX, I recommend you use boot2docker.

Project details


Download files

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

Files for ansible-test-tool, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size ansible-test-tool-1.0.1.tar.gz (17.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page