aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/vagrant/tasks/main.yml
blob: 76f1e609e7bf991bceba40510f9db4ec1dcdec56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- name: Install Vagrant
  become: true
  ansible.builtin.package:
    name: vagrant
    state: present

- name: Update plugins
  ansible.builtin.command: vagrant plugin update

- name: Prune invalid entries
  become: true
  ansible.builtin.command: vagrant global-status --prune

- name: Clean up boxes
  ansible.builtin.command: vagrant box prune --force --keep-active-boxes