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.

Source Distribution

ansible-test-tool-1.0.1.tar.gz (17.1 kB view details)

Uploaded Source

File details

Details for the file ansible-test-tool-1.0.1.tar.gz.

File metadata

File hashes

Hashes for ansible-test-tool-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a497c2c6ba8bae753f2eed5a2e6e6dd9ef25d463e1c3a15fc70cea6e69a24cb3
MD5 47dec89ad7558e0c65fd97f1a3acd74f
BLAKE2b-256 317771c7b4f1b229b4c9a42f9f006c1a16919271f1fcd8b57eca6cb95c0aa0d8

See more details on using hashes here.

Supported by

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