Skip to content

Instantly share code, notes, and snippets.

View behniafb's full-sized avatar
🎰

Behnia Farahbod behniafb

🎰
View GitHub Profile
@travelhawk
travelhawk / README.md
Last active July 21, 2024 18:58
Use vagrant and ansible on Windows (WSL2)

Use vagrant and ansible on Windows (WSL2)

Making vagrant and ansible work together with virtualbox as a provider is not well documented across the documentations. Ansible's control node doesn't work on Windows. However, it works on WSL which make the installation of ansible and vagrant on WSL necessary and the access from WSL to virtualbox which is still running under the Windows host.

Requirements

  • Windows 10
  • Virtualbox
  • WSL2