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
- cd /home/thor/playbooks/lamp-stack-playbooks/
- vi inventory
- add the content as below:
[db_servers]
lamp-db ansible_host=172.20.1.101 ansible_ssh_pass=maria ansible_user=maria[web_servers]
lamp-web ansible_host=172.20.1.100 ansible_ssh_pass=john ansible_user=john
Hope this helps!