Skip to content

Commit

Permalink
Added removal of previous version of VirtualBox if we are moving to new
Browse files Browse the repository at this point in the history
major version
  • Loading branch information
tplavcic committed Jan 26, 2018
1 parent cdd6747 commit 9fcaca8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg-server-setup/pkg-server-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,13 @@
state: latest
when: ansible_os_family == "Debian"

- name: Install VirtualBox
- name: Remove previous version of VirtualBox
apt:
name: virtualbox-5.1
state: absent
when: ansible_os_family == "Debian"

- name: Install latest VirtualBox
apt:
name: virtualbox-5.2
state: latest
Expand Down

0 comments on commit 9fcaca8

Please sign in to comment.