How do you manage per-host differences for hundreds of hosts without hundreds of files?
AdvancedScenarioAWX, Cloud and Large-Scale Operations
Answer
Situation read → Scalable variable design.
What I'd do → Define attributes (role, tier, region) as groups or tags, and derive values via group_vars and keyed_groups. Use host_vars only for true exceptions.
Why → Fewer files, more consistent fleet, easier audit.
Interview tip → "Cattle not pets": hosts are described by attributes.
More on AWX, Cloud and Large-Scale Operations
Your company wants a self-service UI for running playbooks with RBAC. What do you propose?BeginnerHow do you run AWX on Kubernetes?BeginnerA job template should prompt for the target limit and a version, with validation.IntermediateYou need provisioning followed by configuration followed by an approval and then deploy.IntermediateA dynamic inventory source in AWX syncs slowly and stale hosts remain.IntermediateYou manage 5,000 servers and a single job takes hours.Advanced