You must have at least Windows 10 1809.
- Be sure WSL enabled in your computer (Turn windows features on or off -> WSL)
- Download repository and unpack it somewhere (You must not delete this folder in the future)
- Run
install-ansible.bat
as administrator - Open CMD or powershell and enter
ansible
to make sure installation was succesfull.
Also you can use ansible-playbook
, ansible-galaxy
, ansible-vault
and other command line tools
This script will install ansible inside your WSL machine and register folder aliases
in PATH enviroment for referential transparency, so you can use ansible tools directly from windows command promt or powershell.