Vagrant: sudo -> become

This commit is contained in:
Emilien Mantel
2017-11-22 16:28:35 +01:00
parent 71721d1afc
commit de41097cde
2 changed files with 4 additions and 4 deletions

4
Vagrantfile vendored
View File

@@ -33,7 +33,7 @@ Vagrant.configure("2") do |config|
m.vm.provision "ansible" do |ansible|
ansible.playbook = "tests/test.yml"
ansible.verbose = 'vv'
ansible.sudo = true
ansible.become = true
ansible.extra_vars = opts[:vars]
end
end
@@ -49,7 +49,7 @@ Vagrant.configure("2") do |config|
m.vm.provision "ansible" do |ansible|
ansible.playbook = "tests/test.yml"
ansible.verbose = 'vv'
ansible.sudo = true
ansible.become = true
ansible.extra_vars = opts[:vars]
end
end