Skip to main content

Simple Ansible Coverage callback

Project description

# ansible-coverage-callback

[![Latest version](](

Coverage Tool for Ansible.

## Requirements

* Ansible >=2.4

## Installation

Install this Ansible plugin with:

$ pip install ansible-coverage-callback

Be sure to whitelist the plugin in your `ansible.cfg`:

callback_whitelist = coverage

## Skip coverage tag

You may skip task or tasks from coverage report by adding `skip_coverage` tag:

- name: Test handler
command: whoami
- test_var == False
- skip_coverage

## Acknowledged issues

* Imported handlers has no tags, so they can't be skipped
* There is some magic hacks for skipping Molecule's system playbooks
* Tasks from non imported files are not counted

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-coverage-callback-1.0.2.tar.gz (2.9 kB view hashes)

Uploaded source

Supported by

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