A job must produce machine-readable reports for a dashboard.
AdvancedScenarioPerformance, Testing and CI/CD
Answer
Situation read → Structured output.
What I'd do → Use the json or junit callback, or write a CSV from the play.
ANSIBLE_STDOUT_CALLBACK=yaml ansible-playbook site.yml
ANSIBLE_CALLBACKS_ENABLED=junit JUNIT_OUTPUT_DIR=./reports ansible-playbook site.yml
Why → JUnit XML plugs into CI test reports natively.
Interview tip → AWX exposes job events through its REST API too.
More on Performance, Testing and CI/CD
A playbook that touches 200 hosts takes 40 minutes. Where do you start tuning?IntermediateYou install 15 packages with a loop and it is slow.BeginnerHow would you test a role in CI before it reaches production?IntermediateWhat would a Molecule `verify.yml` check for an Nginx role?IntermediateMolecule's idempotence step fails. How do you find the offending task?IntermediateDesign a CI pipeline for an Ansible repo.Advanced