replace sudo by become

pull/2062/head
Erwan SEITE 2017-12-12 11:47:04 +01:00
parent f7dc73b830
commit 5f5d0ffe14
1 changed files with 1 additions and 1 deletions

2
Vagrantfile vendored
View File

@ -164,7 +164,7 @@ Vagrant.configure("2") do |config|
if File.exist?(File.join(File.dirname($inventory), "hosts")) if File.exist?(File.join(File.dirname($inventory), "hosts"))
ansible.inventory_path = $inventory ansible.inventory_path = $inventory
end end
ansible.sudo = true ansible.become = true
ansible.limit = "all" ansible.limit = "all"
ansible.host_key_checking = false ansible.host_key_checking = false
ansible.raw_arguments = ["--forks=#{$num_instances}", "--flush-cache"] ansible.raw_arguments = ["--forks=#{$num_instances}", "--flush-cache"]