I am glad you got this working. I have to prepare for this same setup and wondering if you have any comprehensive notes that you can share here?
On Wednesday, February 3, 2016 at 6:24:20 PM UTC-5, Nikhil Shah wrote: > > I'd like to thank you all, i was able to resolve my windows issue. Few > things I had to do was the following: > > 1. Use Ubuntu instead of CentOS (which is not the reason for the issues) > 2. Install PBIS and set that stuff up > 3. Follow the instructions on > http://docs.ansible.com/ansible/intro_windows.html > 4. pip install xmltodict > 5. pip install pywinrm > 6. Install apt-get install krb5-user (to be able to run kinit) > 7. Kept getting "ssl: 500 WinRMTransport" so i ended up using HTTP port > 5985 (Ill figure out the whole SSL stuff at a later point) > > > Thanks guys! > > On Tuesday, February 2, 2016 at 4:01:55 PM UTC-5, Nikhil Shah wrote: >> >> >> *Nshah* >> >> Feb 2, 12:42 >> >> Hello, >> >> I followed the guidelines in setting up a windows node. >> http://docs.ansible.com/ansible/intro_windows.html#windows-system-prep >> >> I am using Windows 2008 R2, which had PowerShell 2.0 installed; I >> upgraded to PowerShell 4.0 (since the requirements said PowerShell 3.0).... >> >> When trying to run ansible, I am running the following and getting the >> below listed error message: >> >> ansible-playbook -i hosts ipconfig.yml --ask-vault >> Vault password: >> >> PLAY [test raw module] >> ******************************************************** >> >> TASK: [run ipconfig] >> ********************************************************** >> fatal: [qa-codegen01.theorchard.local] => 500 WinRMTransport. [Errno 111] >> Connection refused >> >> FATAL: all hosts have already failed -- aborting >> >> >> >> Note - I went ahead and enabled winRM and configured with the following >> settings: >> >> winrm quickconfig -q >> >> winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="300"}' >> >> winrm set winrm/config '@{MaxTimeoutms="1800000"}' >> >> winrm set winrm/config/service '@{AllowUnencrypted="true"}' >> >> winrm set winrm/config/service/auth '@{Basic="true"}' >> >> >> -- 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/40976f69-11cd-474d-a41c-c87568a4fa75%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
