WinRM configuration script

132 views
Skip to first unread message

Trond Hindenes

unread,
Jul 5, 2014, 11:56:59 AM7/5/14
to ansible...@googlegroups.com
If anyone else in here are interested in Windows support, I've published an updated version of the winrm configuration script which basically performs a fire-and-forget setup of WinRM for https.

I'm trying to be as smart as possible and do as little as possible, so if WinRM over https is already enabled (like it is on VMs running in Azure) i'm skipping that part. The script should also work on Windows 2008R2 hosts where PowerShell 3.0 is enabled (I've made that a hard requirement as Ansible won't run on lower versions of PowerShell).

In any case, I'd be happy to take feedback on it, and if Michael wants to add this to the "scripts" folder inside the source at some point then I'd be all for that of course.



Michael DeHaan

unread,
Jul 5, 2014, 5:43:49 PM7/5/14
to ansible...@googlegroups.com
Want to perhaps send me a pull request?

Outstanding!  We'll be testing shortly.

If you want to send me a pull request for this, I can add this to example/scripts already, and we can put a "Trond Hindenes has written a script to automate this configuration HERE" in the docs, which will get a ton more eyes on it, and likely some pull requests against it as well :)

(As there's a decent portion of us who are just on github vs this list - unfortunately - but may still encounter from the docs)


--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/0e2027f2-aa08-4fae-b9a6-a271e225da80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Trond Hindenes

unread,
Jul 6, 2014, 12:46:10 PM7/6/14
to ansible...@googlegroups.com
No prob, I'll do that. I have a few other win modules and some optimizations in the works, so I'll just have to figure out how to do multiple pull requests from the same fork.

Erick Sevmont

unread,
Mar 16, 2017, 2:43:11 PM3/16/17
to Ansible Project
Hi Trond! 

I'm very interested, I just joined a project where I need this exactly, wondering if you still have that available, the link sends 404, I snooped a bit in https://github.com/trondhindenes but I didn't see it! Would you mind sharing this again if you have it handy?

Thanks! Erick

Matt Davis

unread,
Mar 16, 2017, 2:45:40 PM3/16/17
to Ansible Project
You mean this one? ;)

Trond Hindenes

unread,
Mar 26, 2017, 5:32:27 PM3/26/17
to Ansible Project
I'm assuming that's the one Erick mentions. Erick, that got merged in and has now taken of its own with changes from a bunch of people. 

Maverick Sevmont

unread,
Dec 12, 2017, 10:45:31 PM12/12/17
to Ansible Project
Thanks Trond and Matt! I just saw your reply, never got any kind of notification from google!!! I thought I had checked the box to send me the updates. I ended up building a script using PsExec to accomplish this, but currently I am into building UI tools for other folks, so I will definitely revisit and look into Trond´s. Thanks a ton for your quick reply, sorry for the late thanks! 

Erick
Reply all
Reply to author
Forward
0 new messages