YES! Ansible can automate all, including Microsoft Windows Server

One of the things that we’ve seen gain a lot of traction is native support for Windows inside the Ansible platform. It is hard to find a homogenous IT stack nowadays. For example, you may have a Linux server farm but with Active Directory proving its identity. Your management tools needs to be able to handle Linux, Unix, cloud services and.. Windows

So far our customers have loved Ansible’s simple and agentless automation. Ansible uses SSH to manage Linux machines. For Windows, Ansible uses Powershell remoting. Ansible still runs from a Linux control machine but uses the WinRM python module to talk to the windows host.

This is a demo to showcase the capabilities of Ansible Tower within Windows. I used Ansible Tower to deploy IIS on my Windows machine and which stands up a local website. All of this is done with a simple playbook written in YAML. 

In the following video, I will demonstrate exactly how to accomplish this deployment:

The playbook that I used in this demo:

- hosts: windows

    - name: Test connection

# Restart snmp
    - name: Ensuring SNMP is started
        name: snmptrap
        state: started

    - name: Installing IIS
        name: "Web-Server"
        state: present
        restart: yes
        include_sub_features: yes
        include_management_tools: yes

    - name: Download webpage
        url: 'url to your webpage'
        dest: 'C:/inetpub/wwwroot/index.html'

      - w3svc reset

    - name: Restarting the web app pool
         name: "DefaultAppPool"
         state: restarted


    - name: w3svc reset
        name: w3svc
        state: restarted


If you have any other questions regarding this demo, please don't hesitate to reach out and..