mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
Revert "Change deprecated vagrant ansible flag 'sudo' to 'become'" (#1960)
This commit is contained in:
committed by
Matthew Mosesohn
parent
00916dec38
commit
0d8de289dd
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@@ -140,7 +140,7 @@ Vagrant.configure("2") do |config|
|
||||
if File.exist?(File.join(File.dirname($inventory), "hosts"))
|
||||
ansible.inventory_path = $inventory
|
||||
end
|
||||
ansible.become = true
|
||||
ansible.sudo = true
|
||||
ansible.limit = "all"
|
||||
ansible.host_key_checking = false
|
||||
ansible.raw_arguments = ["--forks=#{$num_instances}", "--flush-cache"]
|
||||
|
||||
Reference in New Issue
Block a user