Use ansible to manage windows hosts that have been added to the domain

​Please add your hosts and vars file so take a look.

​I have had same issues and solved it by

  1. Proper config of WinRM

  2. In Ansible Hosts file passing correct paramters like ansible_host/ansible_user/ansible_connection/etc.​