Explorar el Código

This now works fine in Vagrant 1.4.3, remove the workaround

Justin Plock hace 10 años
padre
commit
682bde8ac8
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 4 borrados
  1. 1
    4
      Vagrantfile

+ 1
- 4
Vagrantfile Ver fichero

@@ -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

Loading…
Cancelar
Guardar