From 53f0dd2f758f85350859a6c053dd2921a12756bd Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 15 Aug 2021 18:06:01 +0300 Subject: vagrant: use sudo for pruning --- roles/vagrant/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'roles') diff --git a/roles/vagrant/tasks/main.yml b/roles/vagrant/tasks/main.yml index 7489480..800c1a2 100644 --- a/roles/vagrant/tasks/main.yml +++ b/roles/vagrant/tasks/main.yml @@ -11,6 +11,7 @@ - name: Prune invalid entries command: vagrant global-status --prune + become: yes - name: Clean up boxes command: vagrant box prune --force --keep-active-boxes -- cgit v1.2.3