Manage Windows like Linux with Ansible

21 Comments



Few questions induce fear into the heart of a Linux admin more than, “Hey, can you manage these Windows servers?”

In this session, we’ll show how Ansible does simple, secure, and agentless Windows management with the exact same tools, language, and philosophy used for Linux hosts. You’ll never have to log in to a Windows server again.

Learn more: https://agenda.summit.redhat.com/

source

21 Comments
    • blank
      Robert Bernet
      May 12, 2022 01:48 am Reply

      Awesome!

    • blank
      IAM NKR
      May 12, 2022 01:48 am Reply

      How can I get windows health check reports using ansible???

    • blank
      Sagar Vispute
      May 12, 2022 01:48 am Reply

      Nice presentation

    • blank
      Benutza
      May 12, 2022 01:48 am Reply

      Awesome. I loved the presentation.

    • blank
      Dave Tapley
      May 12, 2022 01:48 am Reply

      13:14 "this doesn't look too Windows-y, does it?" 👈 this is the content I came for 😆👏🏻

    • blank
      Caleb B
      May 12, 2022 01:48 am Reply

      Very well explained. Time to dig in!

    • blank
      PICNICSINSPACE
      May 12, 2022 01:48 am Reply

      great presentation. i am just learning ansible but this was a great video to open my eyes to what else it can do

    • blank
      Linus Khoen Tatt Lai
      May 12, 2022 01:48 am Reply

      Great presentation! and I love the poem at the ending! Applause!

    • blank
      Aref Ghiasi
      May 12, 2022 01:48 am Reply

      If you hate Windows that much that you can't stop saying "love to hate" why you even bother yourself to manage Windows with your shiny Ansible?

    • blank
      DaVince21
      May 12, 2022 01:48 am Reply

      I've only used Ansible on Linux and Mac so this was very insightful. Thanks tons!

    • blank
      Dinesh A
      May 12, 2022 01:48 am Reply

      Well presented. Much useful!

    • blank
      Rafik Bahri
      May 12, 2022 01:48 am Reply

      The poem
      "I hate that you're not SSH, and the shell you called Power,

      I hate the way you install your apps, Windows Update makes me glower,

      I hate the way you must reboot and your web server IIS,

      I hate your complex registry, it always is a mess,

      I hate your junky services and your stupid domain auth,

      and managing your ACLs is sure to leave me rough,

      I hate that you are not linux that i have to learn you at all,

      but with ansible on my tool belt, i don't hate you,

      not even close, not even a little bit, not even at all."

    • blank
      Abraham Choi
      May 12, 2022 01:48 am Reply

      My win_ping keeps throwing an error that says winrm or requests is not installed: No module named ''winrm'. I successfully downloaded pywin using pip2 install pywinrm, then pip3 install pywinrm, then I uninstalled them, created a venv and used pip install pywinrm – yet same error. Any ideas?

    • blank
      Mar Oz
      May 12, 2022 01:48 am Reply

      Cool presentation. Liked it.

    • blank
      Ahmad Mu’adz
      May 12, 2022 01:48 am Reply

      I've tried the chocolatey module shown with Windows Server 2016, found that procexp is there once I reboot.

    • blank
      Holger Beetz
      May 12, 2022 01:48 am Reply

      Thanks for the video ! This is a really great primer to get Ansible up and running for controlling windows hosts.
      It should be pointed out that basic auth only works in non-domain networks. For most corporate networks you will need to switch to CredSSP. For details check out the Ansible documentation:
      https://docs.ansible.com/ansible/latest/user_guide/windows_winrm.html

      This also means that your inventory file looks a bit different:
      [windows]
      host1.yourdomain
      host2.yourdomain
      etc

      [windows:vars]
      ansible_user=user@yourdomain
      ansible_password=your_top_secret_password
      ansible_connection=winrm
      ansible_winrm_transport=credssp

      As pointed out password should be stored in a vault and sourced to make things safe. The user must have of course administrative rights.

    • blank
      Dheeraj Bhargav
      May 12, 2022 01:48 am Reply

      can you sent me the configuration of windows client

    • blank
      Gaurav Thakuria
      May 12, 2022 01:48 am Reply

      Hi, Could you please help me , I am getting below error:

      #ansible win -m win_ping

      AZ02WSDIANSCLNT | FAILED! => {

      "msg": "winrm or requests is not installed: No module named winrm"

      }

      [ansadm@AZ01LSDIANSSRV01 ansible]$

    • blank
      Vishal Arekar
      May 12, 2022 01:48 am Reply

      gr8.. Thanks

    • blank
      Davide Revelli
      May 12, 2022 01:48 am Reply

      Thanks for the amazing work you are doing… Great presentation!

    • blank
      Hire DevOps
      May 12, 2022 01:48 am Reply

      Great stuff. Great presentation, very energetic!

Leave us a comment