Switches Vagrant box from Ubuntu to Debian 10, installs Firefox ESR, renames role

This commit is contained in:
Jan Beilicke 2021-04-20 21:39:29 +02:00
parent 1f799e612d
commit c32aafabd0
6 changed files with 43 additions and 47 deletions

View file

@ -0,0 +1,15 @@
--- /opt/VBoxGuestAdditions-6.1.18/init/vboxadd 2021-03-16 04:06:15.928284593 +0000
+++ /opt/VBoxGuestAdditions-6.1.18/init/vboxadd 2021-03-16 04:07:36.249727179 +0000
@@ -499,9 +499,10 @@
case "$no_udev" in 1)
sleep .5;;
esac
- $MODPROBE vboxsf > /dev/null 2>&1 ||
- info "modprobe vboxsf failed"
}
+ # HACK
+ $MODPROBE vboxsf > /dev/null 2>&1 ||
+ info "modprobe vboxsf failed"
case "$no_udev" in 1)
do_vboxguest_non_udev;;
esac

View file

@ -25,6 +25,17 @@
changed_when: false
tasks:
- block:
- name: Provide VBoxGuestAdditions patch
copy:
src: files/vbox-add-6.1.18.patch
dest: /tmp/vbox-add-6.1.18.patch
- name: Patch VBoxGuestAdditions
shell: "patch -s -N -u /opt/VBoxGuestAdditions-6.1.18/init/vboxadd -i /tmp/vbox-add-6.1.18.patch"
ignore_errors: yes
when: virtualbox_host_version | default("") == "6.1.18"
- name: Install Ansible
raw: test -e /usr/local/bin/ansible || pip3 install ansible={{ ansible_version }}
changed_when: false
@ -64,8 +75,8 @@
- name: Install browsers
apt:
pkg:
- firefox
- chromium-browser
- firefox-esr
- chromium
register: browsers_installed
- name: Reboot system
@ -76,4 +87,4 @@
- jotbe.common
- geerlingguy.pip
- geerlingguy.docker
- jotbe.dev-tools
- jotbe.dev_tools

View file

@ -6,7 +6,7 @@
src: https://git.jotbe.io/jotbe/ansible-role-common.git
scm: git
- name: jotbe.dev-tools
- name: jotbe.dev_tools
src: https://git.jotbe.io/jotbe/ansible-role-dev-tools.git
scm: git

View file

@ -1,39 +0,0 @@
---
# tasks file for jotbe.dev-tools
- name: Add key for Sublime Text repo
apt_key:
url: https://download.sublimetext.com/sublimehq-pub.gpg
state: present
- name: Add repository for Sublime Text
apt_repository:
repo: deb https://download.sublimetext.com/ apt/stable/
state: present
- name: Add key for VSCodium repo
apt_key:
url: https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg
state: present
- name: Add repository for VSCodium
apt_repository:
repo: deb https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs/ vscodium main
state: present
- name: Update apt cache
apt:
update_cache: yes
cache_valid_time: 7200
- name: Install Sublime Text
apt:
pkg:
- sublime-text
register: sublime_text_installed
- name: Install VSCodium
apt:
pkg:
- codium
register: vscodium_installed