Ansible play book error ec2 setpu

Dear dick,

I have to install aws ec2 instances through ansible-playbook,I am getting this error,kindly help me

ERROR! A playbook must be a list of plays, got a <class ‘ansible.parsing.yaml.objects.AnsibleMapping’> instead

The error appears to be in ‘/etc/ansible/task.yml’: line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

Did you use MS Word or something to edit the yaml file?
The name key should be lower case.

Your playbook syntax is not right

Incorrect: