tests

The top level tests key can contain a sub-key per type of test which can be utilized.

Currently a single sub-key, playbooks, is available.

Note

A playbook can initiate any type of testing, and is merely the wrapper around starting testing code.

Available tests sub-keys
Sub-Key Purpose Available Values
playbooks Contains a list of entries of playbook data.

playbooks

Type Required Purpose
List True Contains a list of entries of playbook data.

location

Type Required Purpose
String true A path, relative to the workspace root, for a playbook for testing.

Note

The provided path should be relative to the workspace, unless you wish to specify the base directory

vars

Type Required Purpose
List false A list of key : value pairs to be passed to the Ansible playbook as variables.