INTEGRATION:

Ansible and Windows

Simplicity across your infrastructure 

It’s hard to find a homogeneous IT stack nowadays. You may have a Linux server farm, but an AD cluster providing identity. Or you have a cross-platform build environment that builds your software for multiple different targets.

Your management and automation tools need to be able to handle multiple, vastly different targets - Linux, Unix, networking, cloud services… and Windows.

ANSIBLE: Linux like Linux, Windows like Windows

Users and customers love Ansible’s simple, agentless, powerful automation that allows them to model and deliver any configuration, any deployment, any environment across their IT infrastructure.

Ansible knew that the key was to bring the same simple, agentless paradigm to managing Windows, while still feeling native to Windows administrators. Ansible’s native Windows support uses Windows PowerShell remoting to manage Windows like Windows in the same Ansible agentless way that Ansible manages Linux like Linux.

With Ansible’s native Windows support, you can, out of the box:

  • Gather facts on Windows hosts
  • Install and uninstall MSIs
  • Enable and disable Windows Features
  • Start, stop, and manage Windows services
  • Create and manage local users and groups
  • Manage Windows packages via the Chocolatey package manager
  • Manage and install Windows updates
  • Fetch files from remote sites
  • Push and execute any PowerShell scripts you write

You can connect to and automate Windows using local or domain users, and soon you’ll be able to use Windows ‘runas’ support to execute actions as the Administrator, just as you would use ‘sudo’ or ‘su’ on Linux.

Plus, with Ansible’s easy extensibility, you can write your own modules in PowerShell and extend Ansible for whatever other functionality you need. Ansible users have written modules for managing filesystem ACLs, managing Windows Firewall, and managing hostname and domain membership, and more.

And when you need to roll this out across your team, Automation controller works out of the box with Ansible’s Windows support.

For more information on Ansible’s Windows support, check out our Intro to Windows, and our List of Windows Modules.

Get started with Ansible

No matter where you are on your automation journey, Red Hat can help. Red Hat® Ansible® Automation Platform delivers open source innovation—hardened for the enterprise—to help your teams create, manage, and scale automation across your organization. 

With a Red Hat subscription, you get fully supported and certified content from our robust partner ecosystem, expert knowledge gained from our success with thousands of customers, and differentiated services—like analytics reporting.

Take a video tour of Red Hat Ansible Automation Platform ->  

Get Started

Explore list of Windows modules in Ansible Docs

Discover Windows guides in Ansible Docs

Contact us for a Windows automation demo

Checklist

10 ways to automate Microsoft Windows with Red Hat Ansible Automation Platform

Download it now

RELATED RESOURCES

Training course

Microsoft Windows Automation with Red Hat Ansible

Learn how to automate administration on Windows Server to enable your DevOps workflow

Download datasheet

Get Started

ON DEMAND VIDEO

1000 Windows servers on a 30 day rebuild

Watch now

Blog

Windows blogs on Ansible

Learn more

ON DEMAND VIDEO

Manage windows like Linux with Ansible

Watch now