Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: This was another project created by a different author long ago. Now, it'll have an official `ansible-test` from `ansible-core`.

Ansible-test is a tool for testing your automation on local docker images. You can think of this as a slim version of Chef’s test-kitchen

$ cd /my/ansible/repository
$ ansible-test my_ansible_role

The above command will drop a Dockerfile at the root of your ansible repo and initialize a docker image with ansible installed. It will then run the ansible role “my_ansible_role”.

Note that ansible-test also accepts arbitrary arguments. These arguments will be passed onto the ansible-playbook command while running tests.

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 reccommend you use boot2docker.

NOTE: Given docker’s inflexibility with Dockerfiles, ansible-test will overwrite the file Dockerfile at the current working directory from which you run ansible-test. This is currently the simplest way to integrate docker as a testing tool.

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-1.0.1.tar.gz (3.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: ansible-test-1.0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ansible-test-1.0.1.tar.gz
Algorithm Hash digest
SHA256 337398f40306b412e055e27466a2dcadeb99ce0a6845c650c28deb9e3fad206e
MD5 907da1b93458c17d26c37854310572b6
BLAKE2b-256 f79cac9735c9590bb8279c6d66d1f76b43382b813939e87407e225eeebc5c534

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page