HiveBrain v1.2.0
Get Started
← Back to all entries
patternshellMinor

I'm trying to run `vagrant provision` on PowerShell Window for Ansible playbook

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
vagrantprovisionpowershelltryingplaybookforwindowansiblerun

Problem

Here is what it replies:

Windows is not officially supported for the Ansible Control Machine.
Please check https://docs.ansible.com/intro_installation.html#control-machine-requirements


What should I do? Thank you

Solution

You have 2 viable options to run ansible on windows 10:

  • Install a linux vm with your favorite virtualization tool and run ansible inside that vm.



  • Run ansible from WSL



With the first option, you will need to install vagrant inside the vm + all virtualization tools needed.

With the second option, you will then need to install vagrant in WSL as well and configure it to access your windows environment.

Context

StackExchange DevOps Q#10524, answer score: 1

Revisions (0)

No revisions yet.