aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/roles/vagrant/tasks/main.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-31 23:44:54 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-31 23:44:54 +0200
commit727ab17a644d52105746e18c301cf733b1181507 (patch)
tree71113c6efae3074899de965aee5489cb76362f8e /src/roles/vagrant/tasks/main.yml
parentdowngrade Ansible (diff)
downloadmaintenance-727ab17a644d52105746e18c301cf733b1181507.tar.gz
maintenance-727ab17a644d52105746e18c301cf733b1181507.zip
move Ansible files to src/
Diffstat (limited to 'src/roles/vagrant/tasks/main.yml')
-rw-r--r--src/roles/vagrant/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/roles/vagrant/tasks/main.yml b/src/roles/vagrant/tasks/main.yml
new file mode 100644
index 0000000..32e9722
--- /dev/null
+++ b/src/roles/vagrant/tasks/main.yml
@@ -0,0 +1,9 @@
+- name: Update plugins
+ ansible.builtin.command: vagrant plugin update
+
+- name: Prune invalid entries
+ ansible.builtin.command: vagrant global-status --prune
+ become: true
+
+- name: Clean up boxes
+ ansible.builtin.command: vagrant box prune --force --keep-active-boxes