Revert "Change deprecated vagrant ansible flag 'sudo' to 'become'" (#1960)

pull/1965/head
Maxim Krasilnikov 2017-11-12 12:20:30 +03:00 committed by Matthew Mosesohn
parent 00916dec38
commit 0d8de289dd
1 changed files with 2 additions and 2 deletions

2
Vagrantfile vendored
View File

@ -140,7 +140,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.become = true ansible.sudo = 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"]