--- - hosts: broken-host-vars gather_facts: false tasks: - name: EXPECTED FAILURE Display hostvars debug: msg: "{{inventory_hostname}} hostvars: {{ hostvars[inventory_hostname] }}"