Skip to content

Commit 072ce6b

Browse files
committed
adding ansible user to get rid of ssh-connect error from ansible to client machine
1 parent c03fca0 commit 072ce6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Vagrantfile

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Vagrant.configure("2") do |config|
2222

2323
# Provision the box
2424
config.vm.provision :ansible do |ansible|
25+
ansible.extra_vars = { ansible_ssh_user: 'vagrant' }
2526
ansible.playbook = "ansible/site.yml"
2627
end
2728
end

0 commit comments

Comments
 (0)