Compare commits

..

2 commits

Author SHA1 Message Date
Oliver Traber b3dca8f3a3
Add pinentry-gnome3 to dev-tools role 2023-12-24 23:14:16 +01:00
Oliver Traber 6e855b6849
Add roles for dev and vm tools 2023-12-24 23:09:53 +01:00
3 changed files with 58 additions and 2 deletions

View file

@ -1,6 +1,8 @@
- hosts: localhost
roles:
- common
- desktop-environment # WM, App Launcher etc.
- desktop-environment # Sway, App Launcher etc.
- essential-tools # Thunar File Manager, Firefox, KeePassXC, Nextcloud Desktop
#- media-tools # Spotify, VLC
#- media-tools # Spotify, VLC
#- dev-tools # Visual Studio Code, Node.js
#- vm-tools # QEMU / KVM, libvirt, virt-manager

View file

@ -0,0 +1,27 @@
- name: Add Visual Studio Code repository
become: yes
deb822_repository:
name: vscode
types: deb
uris: https://packages.microsoft.com/repos/code
suites: stable
components: main
signed_by: https://packages.microsoft.com/keys/microsoft.asc
state: present
enabled: yes
- name: Install packages
become: yes
apt:
state: latest
update_cache: true
install_recommends: false
name:
- code
- nodejs
- npm
- pinentry-gnome3
- name: Install yarn
become: yes
ansible.builtin.command: npm install -g yarn

View file

@ -0,0 +1,27 @@
- name: Install packages for qemu-kvm
become: yes
apt:
state: latest
install_recommends: false
name:
- qemu-kvm
- qemu-system
- libvirt-daemon
- libvirt-daemon-system
- ovmf
- virt-manager
- name: Ensure group "libvirt" exists
become: yes
ansible.builtin.group:
name: libvirt
state: present
- name: Add user to group "libvirt"
become: yes
ansible.builtin.user:
name: "{{ ansible_user_id }}"
state: present
groups:
- libvirt
append: true