Hi Guys,
I have created one playbook in Ansible. Now I am trying to run this playbook. But it is showing me the below error.
$ ansible-playbook web.yml
ERROR! the role '/root/web' was not found in /root/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/root
The error appears to be in '/root/web.yml': line 3, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
roles:
- /root/web
^ here