Oh, PS:

Along with NTLM and kerberos delegation support, this version of pywinrm 
has switched the HTTP(S) client from urllib2 to requests. This allows us to 
take advantage of persistent connections, which can give another 
significant performance boost to Windows on Ansible (especially over HTTPS, 
as we don't have to repeat the TLS handshake for each WinRM request). In my 
testing, local VMs experienced about a 20% speed boost on small tasks, 
while remote VMs (eg, AWS instances) got more like a 50% speed boost to 
small tasks. File transfer performance (eg, win_copy) should also be 
noticeably improved again with this release, though I haven't benchmarked 
it.

-Matt

On Friday, May 6, 2016 at 5:14:00 PM UTC-7, Matt Davis wrote:
>
> Everything for pywinrm 0.2.0 should be ready to go, and we've published a 
> test build to testpypi. Just waiting for any final testing/review from 
> Alexey before the final publish to PyPI. 
>
> Feel like giving it a whirl?
>
> pip install pywinrm[kerberos]==0.2.0 -i https://testpypi.python.org/pypi 
> --extra-index-url https://pypi.python.org/pypi
>
> will get you the test build from testpypi (along with the released 
> dependencies from the real pypi), and the optional kerberos dependencies. 
> If you don't want kerberos, just get rid of the [kerberos] extras part in 
> the pkgspec above.
>
> With that, ansible_winrm_transport=ntlm in your inventory should let you 
> use both domain\username and usern...@domain.com syntax, and kerberos 
> delegation should work just by adding 
> ansible_winrm_kerberos_delegation=yes. 
>
> Please give it a shot- this should work all the way back to Ansible 1.9.5 
> just by updating pywinrm. We've added a few new niceties around arg parsing 
> in 2.1, like warnings if you pass inventory args that your installed 
> version of pywinrm doesn't understand (and not requiring things like 
> username when not required) but otherwise, all the goodies in here should 
> work on older versions of Ansible too.
>
> Feel free to file issues at https://github.com/diyan/pywinrm/issues.
>
> Enjoy!
>
> Matt Davis
> Principal Software Engineer (Ansible Core Windows)
> Red Hat
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to