Compare commits
No commits in common. "b3dca8f3a31f62f735d1696f7e61d9953ccbaaab" and "b9eac3b2cc040bd5b6cb576f375f2b3f4a76b598" have entirely different histories.
b3dca8f3a3
...
b9eac3b2cc
4
main.yml
4
main.yml
|
@ -1,8 +1,6 @@
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
- desktop-environment # Sway, App Launcher etc.
|
- desktop-environment # WM, App Launcher etc.
|
||||||
- essential-tools # Thunar File Manager, Firefox, KeePassXC, Nextcloud Desktop
|
- 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
|
|
|
@ -1,27 +0,0 @@
|
||||||
- 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
|
|
|
@ -1,27 +0,0 @@
|
||||||
- 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
|
|
Loading…
Reference in a new issue