Skip to content

Commit

Permalink
Remove installation of "upstream" VirtualBox
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Apr 20, 2020
1 parent 9a7c595 commit 7853999
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions tools/create_remote_build_server/build_remote_ssh_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,29 +122,19 @@
register: result
until: result is succeeded

- name: Get latest version of Vagrant
# It's necessary to use upstream Vagrant because it contains Ruby WinRM
- name: Get latest+upstream version of Vagrant
uri:
url: https://checkpoint-api.hashicorp.com/v1/check/vagrant
return_content: yes
register: vagrant_uri

- name: Install Vagrant
- name: Install upstream Vagrant
apt:
deb: "https://releases.hashicorp.com/vagrant/{{ vagrant_uri.json.current_version }}/vagrant_{{ vagrant_uri.json.current_version }}_{{ ansible_architecture }}.deb"
register: result
until: result is succeeded

- name: Add an Apt signing key for Virtualbox
apt_key:
url: "{{ item }}"
loop:
- https://www.virtualbox.org/download/oracle_vbox_2016.asc
- https://www.virtualbox.org/download/oracle_vbox.asc

- name: Add Virtualbox repository
apt_repository:
repo: deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian {{ ansible_distribution_release }} contrib

- name: Install packages
apt:
pkg: "{{ packages }}"
Expand Down

0 comments on commit 7853999

Please sign in to comment.