Member-only story

How to install Ansible in Windows 11 WSL Windows Subsystem for Linux

How to install and maintain Ansible inside Windows 11 using the Windows Subsystem for Linux and Ubuntu 20.04 LTS.

Luca Berton
9 min readJan 10, 2022

How to install Ansible in Windows 11.
Today we’re going to talk about the easier way to install and maintain Ansible inside Windows 11 using the Windows Subsystem for Linux.
I’m Luca Berton and welcome to today’s episode of Ansible Pilot.

How to install Ansible in Windows 11

Today we’re talking about How to install Ansible in Windows 11.
Officially Windows is not a supported operating system for the control node even if RedHat is working really hard to eliminate barriers to native Windows controllers.
The reason behind this is that there are a lot of UNIX-isms deeply baked into most of Ansible that prevent it from working on native Windows, basically, Windows doesn’t have the fork() syscall implementation. Ansible controller worker model as of 2.10 makes heavy use of the POSIX fork() syscall.

  • Cygwin
    Some people used Cygwin POSIX-compatibility…

--

--

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