install virtualbox
fix neovim install
This commit is contained in:
parent
6d34fe9903
commit
4ba50bb251
2 changed files with 18 additions and 8 deletions
|
@ -12,3 +12,4 @@
|
|||
- Telegram (maybe only possible to download)
|
||||
- Oh my zsh?
|
||||
- Cool neovim setup
|
||||
- wireshark
|
||||
|
|
|
@ -18,6 +18,16 @@
|
|||
apt_repository:
|
||||
repo: "deb [signed-by=/etc/apt/trusted.gpg.d/vscodium-archive-keyring.asc ] https://download.vscodium.com/debs vscodium main"
|
||||
state: present
|
||||
- name: Get VirtualBox APT key
|
||||
become: true
|
||||
get_url:
|
||||
url: https://www.virtualbox.org/download/oracle_vbox_2016.asc
|
||||
dest: /etc/apt/trusted.gpg.d/oracle_vbox_2016.asc
|
||||
- name: Install VirtualBox APT repository
|
||||
become: true
|
||||
apt_repository:
|
||||
repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/oracle_vbox_2016.asc] https://download.virtualbox.org/virtualbox/debian {{ ansible_distribution_release }} contrib"
|
||||
state: present
|
||||
- name: Update repositories
|
||||
become: true
|
||||
apt:
|
||||
|
@ -44,6 +54,8 @@
|
|||
- signal-desktop
|
||||
- nextcloud-desktop
|
||||
- codium
|
||||
- tree
|
||||
- virtualbox-6.1
|
||||
# Erlang stuff: https://github.com/asdf-vm/asdf-erlang#before-asdf-install
|
||||
- build-essential
|
||||
- autoconf
|
||||
|
@ -106,24 +118,21 @@
|
|||
- name: Install VSCodium extensions
|
||||
shell: "codium --install-extension {{ item }}"
|
||||
loop: "{{ vscodium_extensions | difference(ansible_facts.ansible_local.vscodium_extensions) }}"
|
||||
- name: Create git repository directory
|
||||
file:
|
||||
path: ~/repos
|
||||
state: directory
|
||||
- name: Pull neovim repository
|
||||
become: true
|
||||
git:
|
||||
repo: https://github.com/neovim/neovim.git
|
||||
dest: ~/repos/neovim
|
||||
version: stable
|
||||
dest: ~/neovim
|
||||
- name: Build neovim
|
||||
become: true
|
||||
make:
|
||||
chdir: ~/repos/neovim
|
||||
chdir: ~/neovim
|
||||
params:
|
||||
CMAKE_BUILD_TYPE: RelWithDebInfo
|
||||
changed_when: false # I lie a bit, but neovim makefile doesn't cooperate
|
||||
- name: Install neovim
|
||||
become: true
|
||||
make:
|
||||
chdir: "/home/{{ ansible_user_id }}/repos/neovim"
|
||||
chdir: ~/neovim
|
||||
target: install
|
||||
changed_when: false # Idem
|
||||
|
|
Reference in a new issue