ansible and windows AD module

I am trying to invoke AD commands( I put this into powershellscript) from ansible server. I am using Kerberos in the ansible server for auth. Can you guys help in this issue?

Below is my powershell script runs on windows server(windows server 2008 r2 standard), which is in domain. I am able to run this powershell script fine when I RDP into this machine. But fails when i run this script from powershell.

Possibly a second hop issue. Try setting ansible_winrm_kerberos_delegation: true
in your windows inventory (documented at the end of this section of the documentation page:
http://docs.ansible.com/ansible/intro_windows.html#inventory

Hope this helps,

Jon

thank you Hawkesworth, that worked.