Member-only story

Configure a Windows Host for Ansible — ansible winrm

How to set up step by step on a fresh Windows 10 machine how to configure a “basic” authentication, use a Local Accounts for authentication, and successfully execute a simple “win_ping” Ansible Playbook.

Luca Berton
7 min readMar 7, 2022

How to configure a Windows Host for Ansible?
I’ll show you step by step on a freshly installed machine how to configure a “basic” authentication, use a Local Accounts for authentication and successfully execute a simple “win_ping” Ansible Playbook.
This initial configuration sometimes is a roadblock for some Windows users to start using Ansible.
I’m Luca Berton and welcome to today’s episode of Ansible Pilot.

Configure a Windows Host for Ansible

  • Windows 7, 8.1, 10, 11
  • Windows Server 2008, 2008 R2, 2012, 2012 R2, 2016, 2019, 2022
  • PowerShell 3.0+ and .NET 4.0+
  • WinRM or OpenSSH (experimental)

The supported nodes include all the modern releases of Windows Desktop and Server.
The…

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet