Ansible interview question

A playbook takes 40 minutes across 300 hosts. How do you speed it up?

Scenario Asked in DevOps Engineer interviews

Members can save this page, take notes and track progress. See membership · Sign in

Summary

Find where the time goes first (callbacks_enabled = profile_tasks, timer), then attack the usual causes: too few forks, SSH overhead, fact gathering, slow package tasks run one item at a time, and serial plays that don't need to be serial.

Keep reading with a membership

The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.

See plans and free trial Already a member? Sign in

More Ansible questions

← All Ansible questions

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake