Which Variable Actually Wins
Untangle a value defined in four places at four precedence levels.
A beginner Ansible challenge worth 3 points. Solve it hands-on in a real Ansible environment in your browser - no local setup, no fake shells.
The Challenge
Scenario: Every host serves port 7777. group_vars/webservers.yml says 8081, a stray host_vars/web02.yml says 9999, and a "temporary" play-level vars: block from an incident six weeks ago beats them all.
Make the intended value win at the RIGHT layer: web01 and web02 -> 8081, dbprod -> 8080, lb01 -> 8088 as a genuine per-host exception you must add. Then run check.