# \#wsl2

**URL:** https://forum.ansible.com/tag/wsl2/152.md

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

---

## [Execution Environment from docs doesn't install Python in container](https://forum.ansible.com/t/execution-environment-from-docs-doesnt-install-python-in-container/46272)

<div class="topic-metadata">

**Author:** [@EmersonPrado](https://forum.ansible.com/u/EmersonPrado)\
**Replies:** 12\
**Last updated:** [September 14, 2026, 6:27pm UTC](https://forum.ansible.com/t/execution-environment-from-docs-doesnt-install-python-in-container/46272 "2026-09-14T18:27:55Z")

</div>

Hi all! I tried to set up an Execution Environment following the official articles Setting up your environment and Building your first Execution Environment, but the builder command fails (not all lines shown): ansible…

---

## [Automate WSL instance setup at scale](https://forum.ansible.com/t/automate-wsl-instance-setup-at-scale/46253)

<div class="topic-metadata">

**Author:** [@mikemorency](https://forum.ansible.com/u/mikemorency)\
**Replies:** 1\
**Last updated:** [September 11, 2026, 8:39pm UTC](https://forum.ansible.com/t/automate-wsl-instance-setup-at-scale/46253 "2026-09-11T20:39:35Z")

</div>

Hi, Recently I published a certified collection that supports WSL automation via Ansible, microsoft.wsl. I put together a brief demo of how the modules can support managing multiple WSL instances on one or more Windows …

---

## [Managing WSL instances directly with Ansible](https://forum.ansible.com/t/managing-wsl-instances-directly-with-ansible/46252)

<div class="topic-metadata">

**Author:** [@mikemorency](https://forum.ansible.com/u/mikemorency)\
**Replies:** 0\
**Last updated:** [September 1, 2026, 3:06pm UTC](https://forum.ansible.com/t/managing-wsl-instances-directly-with-ansible/46252 "2026-09-01T15:06:05Z")

</div>

Hi, Recently I published a certified collection that supports WSL automation via Ansible, microsoft.wsl. I put together a brief demo of how the modules can support direct management of WSL instances by setting up an SSH…

---

## [AnsiballZ/PowerShell ParseError when using win\_scheduled\_task](https://forum.ansible.com/t/ansiballz-powershell-parseerror-when-using-win-scheduled-task/44375)

<div class="topic-metadata">

**Author:** [@dustin\_k](https://forum.ansible.com/u/dustin_k)\
**Replies:** 3\
**Last updated:** [September 4, 2025, 3:42am UTC](https://forum.ansible.com/t/ansiballz-powershell-parseerror-when-using-win-scheduled-task/44375 "2025-09-04T03:42:04Z")

</div>

Hello, I’m attempting to create a scheduled task using win\_scheduled\_task but getting a ParseError. It looks like in order to execute the ansible task, AnsiballZ generates a Powershell script, but when trying to execute…

---

## [Using WSL with Ansible and RHEL to develop Automation Content](https://forum.ansible.com/t/using-wsl-with-ansible-and-rhel-to-develop-automation-content/39720)

<div class="topic-metadata">

**Author:** [@Bontreger](https://forum.ansible.com/u/Bontreger)\
**Replies:** 4\
**Last updated:** [July 31, 2025, 12:55am UTC](https://forum.ansible.com/t/using-wsl-with-ansible-and-rhel-to-develop-automation-content/39720 "2025-07-31T00:55:21Z")

</div>

As a services leader for our public sector customers here at Red Hat, I find myself in an odd situation. Many of my customers require connecting through remote access tools only available on Windows. For my own simplicit…

---

## [Win\_ping issue "Could not find the shell plugin required"](https://forum.ansible.com/t/win-ping-issue-could-not-find-the-shell-plugin-required/42293)

<div class="topic-metadata">

**Author:** [@Rokas101](https://forum.ansible.com/u/Rokas101)\
**Replies:** 2\
**Last updated:** [May 1, 2025, 3:11pm UTC](https://forum.ansible.com/t/win-ping-issue-could-not-find-the-shell-plugin-required/42293 "2025-05-01T15:11:01Z")

</div>

I’m running WSL2 Ubuntu 24.04.2 LTS as Ansible host and a Windows 11 VM on Hyper-V as a remote node with SSH enabled. The VM is reachable from the host with ping and SSH, however when I run: ansible myhosts -m win\_ping…

---

## [Setting up ansible commad node and other node on one machine](https://forum.ansible.com/t/setting-up-ansible-commad-node-and-other-node-on-one-machine/39182)

<div class="topic-metadata">

**Author:** [@foxdev](https://forum.ansible.com/u/foxdev)\
**Replies:** 1\
**Last updated:** [December 19, 2024, 10:59am UTC](https://forum.ansible.com/t/setting-up-ansible-commad-node-and-other-node-on-one-machine/39182 "2024-12-19T10:59:40Z")

</div>

Hello, I am a beginner in IT and also new to ansible also (I learned about it just today). I want to play around with ansible and my question is how do control my windows host machine as node from my wsl2 ubuntu (command…

---

## [Lightspeed and WSL cannot set properties of undefined (setting "currentModelValue')](https://forum.ansible.com/t/lightspeed-and-wsl-cannot-set-properties-of-undefined-setting-currentmodelvalue/3544)

<div class="topic-metadata">

**Author:** [@daemenseth](https://forum.ansible.com/u/daemenseth)\
**Replies:** 3\
**Last updated:** [January 31, 2024, 6:29pm UTC](https://forum.ansible.com/t/lightspeed-and-wsl-cannot-set-properties-of-undefined-setting-currentmodelvalue/3544 "2024-01-31T18:29:41Z")

</div>

I run vscode for my ansible playbook devolopment in a WSL2 shell with ubuntu. This works ok but I also want to use ansible lightspeed. But when I click connect in the extension I get the following error: cannot set pr…

---

## [Credssp: Received error status from the server](https://forum.ansible.com/t/credssp-received-error-status-from-the-server/715)

<div class="topic-metadata">

**Author:** [@maxmin](https://forum.ansible.com/u/maxmin)\
**Replies:** 5\
**Last updated:** [September 15, 2023, 9:36pm UTC](https://forum.ansible.com/t/credssp-received-error-status-from-the-server/715 "2023-09-15T21:36:08Z")

</div>

Hi, I Have a WSL2 on my Windows 10 Pro with Ubuntu 22.04.02 LTS. My Ansible version: ansible 2.10.8 config file = None configured module search path = \['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/…
