the connection plugin 'kerberos' was not found

FAILED! => {
“failed”: true,
“msg”: “the connection plugin ‘kerberos’ was not found”

I have installed kerberos but unable to get it working can some one help me?

I believe this error appears if you are setting the ansible_connection var to an invalid connection in this case Kerberos. If you are wanting to use Windows with kerberos your vars should have

ansible_connection: winrm
ansible_winrm_transport: kerberos