Skip to content

Commit

Permalink
https://github.com/ansible-community/ansible-lint/pull/1558
Browse files Browse the repository at this point in the history
  • Loading branch information
hswong3i committed May 27, 2021
1 parent 84e610e commit 6e6fcda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Expand Up @@ -46,19 +46,19 @@
.script-bootstrap-virtualbox: &script-bootstrap-virtualbox
- |
if ! [[ -x "$(command -v vboxmanage)" ]]; then
if ! [[ -x "$(command -v VBoxManage)" ]]; then
export DEBIAN_FRONTEND=noninteractive
curl -skL https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo apt-key add -
sudo add-apt-repository -y "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib"
sudo -E apt-get update
sudo -E apt-get install -y virtualbox-6.1
export VERSION=$(VBoxManage --version | sed 's/^\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/g')
curl -skL -O https://download.virtualbox.org/virtualbox/$VERSION/Oracle_VM_VirtualBox_Extension_Pack-$VERSION.vbox-extpack
echo "y" | sudo vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-$VERSION.vbox-extpack --replace
echo "y" | sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-$VERSION.vbox-extpack --replace
rm -rf Oracle_VM_VirtualBox_Extension_Pack-$VERSION.vbox-extpack
fi
sudo systemctl start vboxdrv.service
sh -x -c "vboxmanage --version"
sh -x -c "VBoxManage --version"
.script-bootstrap-python: &script-bootstrap-python
- |
Expand Down
1 change: 1 addition & 0 deletions playbooks/tasks/main.yml
Expand Up @@ -38,6 +38,7 @@
loop:
- { name: "root", password: "vagrant" }
- { name: "vagrant", password: "vagrant" }
no_log: true

- name: prepare directories
file:
Expand Down

0 comments on commit 6e6fcda

Please sign in to comment.