mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-06-05 11:07:58 +00:00
replace sudo by become
This commit is contained in:
Vendored
+1
-1
@@ -164,7 +164,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"]
|
||||
|
||||
Reference in New Issue
Block a user