Problem in Ansible Project setup

There is problem in the Ansible certification course Topic4 Lesson 12 project setup
I created an inventory file as per specs given still throwing error while check.
And I checked the link in the hint the inventory file is different from given specs.

Hello @tharun232

It seems that you are trying to create the inventory not in the required path
so try to do this and it would works fine

  1. cd /home/thor/playbooks/lamp-stack-playbooks/
  2. vi inventory
  3. add the content as below:

lamp-db ansible_host= ansible_ssh_pass=maria ansible_user=maria

lamp-web ansible_host= ansible_ssh_pass=john ansible_user=john

Hope this helps!