Ansible interview question

How would you configure 100 Linux servers consistently with Ansible?

How you'd do it Asked in DevOps Engineer interviews

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

Summary

Describe the desired state once in roles (users, SSH hardening, packages, time sync, logging, monitoring agent), target servers through a dynamic or well-grouped inventory, and roll changes out in batches with serial. Run the same playbook on a schedule or from CI so drift is corrected, and check changed counts to spot servers that keep drifting.

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