Make the Playbook Parse
Fix tabs, a mapping used where a list belongs, and a missing play key.
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: A brand-new site.yml will not even parse: it contains a literal tab, one task written as a dictionary key instead of a list item, and no hosts: line at all.
Repair the YAML so the play targets webservers, creates ~/srv/notice/ (mode 0755) and writes ~/srv/notice/hello.txt containing hello from <inventory_hostname>. Verify with ansible-playbook site.yml --syntax-check, then run check.