Frequently Asked Questions

Is Docker required for running goodplay?

Although most people may use goodplay with Docker, it is absolutely fine to run goodplay without Docker and instead run on localhost or against remote hosts. Just keep in mind that you need to take care on your own for setting up and cleaning up your test environment in this case.

When is a test marked as passed, skipped, or failed?

An executed test always results in one of the following three test outcomes: passed, skipped, and failed. The following table shows the relation of Ansible task results of non-test tasks and test tasks to the actual test result.

task result non-test task test task
ok n/a passed
ok (changed) n/a failed
failed global failed failed
failed (ignore failed) n/a n/a
skipped n/a skipped
unreachable host global failed failed
no hosts n/a n/a

These test results are collected for each host a task runs on. At the end of a test task the results are combined to the final test outcome according to the following rules in order:

  1. If the task has been failed on one or more hosts test outcome is failed.
  2. If the task has been skipped on one or more hosts test outcome is skipped.
  3. Otherwise result in passed.


  • In case of a global failed this results in a failure with all subsequent tests being skipped.
  • If all test tasks of a playbook are skipped this results in a failure.

Are test tasks free of side effects?

It depends. Test tasks are run in check mode (and thus without side effects) when supported by a module. If check mode is not supported, a module is run in normal mode which can result in side effects (depending on a module’s functionality).