Interview Prep/Ansible/Roles, Collections and Project Structure

How would you review a pull request that adds a new role?

IntermediateScenarioRoles, Collections and Project Structure
Answer

Situation read → Quality gate.

What I'd do → Check: FQCNs, ansible-lint clean, idempotent (Molecule), defaults documented, no secrets, no_log where needed, handlers used instead of restarts, become scoped narrowly, README with variables, tags where useful, supports declared OS list.

Why → A checklist avoids opinion-based review.

Interview tip → Mention automating the checklist in CI.

All Ansible questions Roadmap: Ansible

More on Roles, Collections and Project Structure