Merge pull request #1904 from guenhter/master

Change deprecated vagrant ansible flag 'sudo' to 'become'
pull/1928/head
Spencer Smith 2017-11-02 12:02:32 -04:00 committed by GitHub
commit 5c5e879c2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"))
ansible.inventory_path = $inventory
end
ansible.sudo = true
ansible.become = true
ansible.limit = "all"
ansible.host_key_checking = false
ansible.raw_arguments = ["--forks=#{$num_instances}", "--flush-cache"]