From 5f5d0ffe14c0c8b5d919cb17fe6c0d22ab485a24 Mon Sep 17 00:00:00 2001
From: Erwan SEITE <wanix.fr@gmail.com>
Date: Tue, 12 Dec 2017 11:47:04 +0100
Subject: [PATCH] replace sudo by become

---
 Vagrantfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Vagrantfile b/Vagrantfile
index 9db4be3a1..64a3009c0 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -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"]
-- 
GitLab