Has anyone had success with using Ansible to manage Windows?

  • @takeda
    link
    English
    211 months ago

    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.

    • Possibly linuxOP
      link
      fedilink
      English
      211 months ago

      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
        link
        English
        110 months ago

        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.