top of page

Install Ansible on Windows 10

Updated: Apr 24, 2020

Some years ago Microsoft announced the Windows Subsystem for Linux (WSL), which gave Windows 10 users the ability to run a Linux distro directly from their Windows install without the need for a VM.

We can not install Ansible directly into Windows, but it works inside the Windows Subsystem for Linux. This is a quick start guide to getting OpenSuse installed and running, along with Ansible, on WSL.


Ansible is an automation tool that can run actions (aka commands or tasks) in machines directly from your computer, without any special setup. To write the actions we use YAML which lowers the barrier for newcomers, since it is easy to read. Ansible has a large community and RedHat behind it so it grows more and more every day, improving the Windows support each day.


Let's go:

  • Enable Windows Subsystem for Linux under Turn Windows features On or Off in the Control Panel or you can type this command (as administrator) on PowerShell:

  • Reboot;

  • Open the Microsoft Store, find and install OpenSuse;

  • Find OpenSuse in the Start Menu, and run it.









  • Now system will request you for username and password from OpenSuse;

  • First thing inside Linux: update;

  • Installing Ansible;

  • Others packages you may need:

  • Check Ansible version command:

There is the Windows path of your Linux files created:


160 views0 comments

Recent Posts

See All

Mobile | Secret Phone Codes

Our smartphones have become extensions of ourselves, facilitating much of our communication and storing troves of private data. If someone wants to monitor your activity, tapping your phone is a viabl

Mouse & Keyboard Bot

This article illustrates how to automate mouse and keyboard movements using pyautogui module in python. This module is not preloaded with python. So to install it run the following command: The code s

Edit a Website with a Java console

Edit a website – even if it’s not yours! This is how you can edit any website directly from your browser: #1) Open a Webpage; #2) Right-click on any spot in the website, select “Inspect Element”; #3)

bottom of page