A city public-works network inventory in Ansible YAML has grown clever anchors and merges that junior operators struggle to edit safely. What guidance best balances encoding power with operations?
Select an answer to reveal the explanation.
Short Explanation
Clever YAML merges are like a street map drawn entirely with ditto marks—experts smile, juniors get lost and break a pump station. Spell out the inventory clearly even if it repeats a little. Opaque anchors save keystrokes until someone ships the wrong VLAN.
Full Explanation
YAML anchors and merge keys can reduce duplication but often hide effective variable resolution from less experienced operators, increasing change risk. Explicit inventory and group_vars usually improve operational clarity for civic teams. Extreme indirection, binary formats, or flattening without structure each harm maintainability differently.