this post was submitted on 26 Jan 2024
18 points (90.9% liked)

Ansible

240 readers
1 users here now

# TODO

founded 2 years ago
MODERATORS
 

Has anyone had success with using Ansible to manage Windows?

you are viewing a single comment's thread
view the rest of the comments
[–] takeda 2 points 10 months ago (3 children)

I suppose a lot of things have changed and I'm just out of date, but doesn't absolutely work by configuring machines via SSH? How would that work on Windows. If you want to use CM for this wouldn't one with an agent (for example saltstack or chef) be more suitable?

If ansible does work on Windows, why not try it out and see if it does what you need? One of selling points if ansible over competition is that it doesn't require setting an infrastructure to use it, so testing would take much less effort.

[–] [email protected] 2 points 10 months ago (2 children)

Ansible on Windows uses WinRM but believe it or not there is also SSH for windows. (I use it to admin a single machine.)

[–] vegetaaaaaaa 1 points 9 months ago (1 children)

In my basic tests (initial setup of an AD DC, just a lab environment), it does work through WinRM. What gave me a headache is tying to enable "secure" (TLS) WinrRM using a self-signed certificate. I should do some cleanup and post the setup someday.

[–] [email protected] 1 points 9 months ago

That's why I use SSH