WSL(windows subsystem for Linux)

Phani
Jul 25, 2023

--

As we know, we can’t install or use Docker inside VMs as Hyper-V is disabled, it is difficult to use any linux related application software from windows. for example Ansible Vault.

As an alternative solution, we can install ansible-vault in WSL(Windows Subsystem for Linux)

WSL installation procedure

  • open powershell from start menu
  • type command wsl — list — online and hit enter, it will shows us different flavors of linux distributions
  • and to install type command wsl — install -d Ubuntu-22.04 and press enter
  • once successfully installed, to enter into linux system, type command wsl and hit enter
  • Install ansible with the below command sudo apt install ansible
  • once ansible installed in new linux system, usage of ansible-vault is same as usage in Docker.

--

--

Responses (3)