Ok it looks like your inventory and group vars aren't matching up at the moment.
Please show your ansible-playbook command line. Your ansible hosts file should be in in /etc/ansible/hosts and group vars in /etc/ansible/group_vars/windows.yml (You can use other locations but must use -i /path/to/ansible/hosts/file and the group_vars must be in sub directory under wherever your ansible inventory file is). You can also configure in ansible.cfg so worth checking that ansible is configured in the default way. Also you must use a local account name e.g. Administrator if you have not set up kerberos. If you are using kerberos, please use username@realm (not username\realm or username/realm) otherwise kerberos will not be used. Hope this helps, Jon On Tuesday, November 15, 2016 at 8:52:19 AM UTC, Aitor Gómez wrote: > > yeah thanks.. i will ask if i can install kerbeos module.. but the partnet > said me is not neccesary.. im very begginer with this.. thanks > > El martes, 15 de noviembre de 2016, 9:06:42 (UTC+1), Mike Fennemore > escribió: >> >> It might be an idea to take a look at the Ansible documentation in that >> case http://docs.ansible.com/ansible/intro_windows.html . That will give >> you the rundown of what is needed. >> >> On Tuesday, November 15, 2016 at 9:02:41 AM UTC+1, Aitor Gómez wrote: >>> >>> No i not configure kerberos (other partner install ansible ansible >>> 2.1.1.0 in our organization and tell us is not necesary install >>> kerberos). pywinrm-0.2.1 >>> >>> El lunes, 14 de noviembre de 2016, 20:39:41 (UTC+1), Mike Fennemore >>> escribió: >>>> >>>> The user isn't in the correct user@domain format firstly. Have you >>>> setup kerberos as per the Ansible documentation? It might also be an idea >>>> to check what version of pywinrm you're running. What version of Ansible >>>> is >>>> the server running? >>> >>> -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9ef18ec9-b374-49b7-b19f-f31b9ef3b7af%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
