I am trying to run a basic ansible playbook using vagrant provision but while doing so experiencing this error:
I even added the ip in my Vagrantfile:
-- mode: ruby --
vi: set ft=ruby :
Vagrant.configure(“2”) do |config|
config.vm.box = “centos/7” config.vm.network “private_network”, ip: “172.30.240.1”
config.vm.provision “ansible” do |ansible|
ansible.playbook = “playbook.yaml”
end
Also I am not able to install ansible on windows using pip and like you know git bash won’t support installation of ansible.
While I am getting version compatibility issues while trying the same using WSL.
Please help.
Thanks
Arjun Goel
But still experiencing the issue.
Have you tried to manually run an ssh command to that IP address and port? If ssh command also returns a timeout, then that is the main source of the issue.