aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/vagrant/tasks/main.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-08-15 18:06:01 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-08-15 18:06:01 +0300
commit53f0dd2f758f85350859a6c053dd2921a12756bd (patch)
treef9de0b7a129afff25b65bc9afee7757fbe4db075 /roles/vagrant/tasks/main.yml
parentuse sudo for reboot (diff)
downloadmaintenance-53f0dd2f758f85350859a6c053dd2921a12756bd.tar.gz
maintenance-53f0dd2f758f85350859a6c053dd2921a12756bd.zip
vagrant: use sudo for pruning
Diffstat (limited to '')
-rw-r--r--roles/vagrant/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
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