|
@@ -23,14 +23,11 @@ Vagrant.configure('2') do |config|
|
23
|
23
|
config.vm.provision :ansible do |ansible|
|
24
|
24
|
ansible.playbook = 'site.yml'
|
25
|
25
|
ansible.host_key_checking = false
|
|
26
|
+ ansible.extra_vars = { ansible_ssh_user: 'vagrant', testing: true }
|
26
|
27
|
|
27
|
28
|
# ansible.tags = ['blog']
|
28
|
29
|
# ansible.skip_tags = ['openvpn']
|
29
|
30
|
# ansible.verbose = 'vvvv'
|
30
|
|
-
|
31
|
|
- # Workaround: https://github.com/mitchellh/vagrant/issues/2174
|
32
|
|
- extra_vars = { ansible_ssh_user: 'vagrant', testing: true}
|
33
|
|
- ansible.raw_arguments = "--extra-vars=" + extra_vars.map { |k,v| "#{k}=#{v}" }.join(" ")
|
34
|
31
|
end
|
35
|
32
|
|
36
|
33
|
end
|