Compare commits
2 Commits
fbfdaf6000
...
9d0af474b7
Author | SHA1 | Date | |
---|---|---|---|
9d0af474b7 | |||
6575486db6 |
@ -35,6 +35,7 @@
|
||||
become: yes
|
||||
community.general.pacman:
|
||||
name:
|
||||
- autorandr
|
||||
- bash-completion
|
||||
- bind
|
||||
- bluez
|
||||
|
@ -11,6 +11,7 @@
|
||||
become: yes
|
||||
apt:
|
||||
pkg:
|
||||
- autorandr
|
||||
- vim-gtk3
|
||||
- htop
|
||||
- tmux
|
||||
@ -54,4 +55,3 @@
|
||||
pkg:
|
||||
- redshift
|
||||
- picom
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
- name: install libvirt packages
|
||||
- name: install libvirt packages [Ubuntu]
|
||||
when: ansible_distribution == "Ubuntu"
|
||||
become: yes
|
||||
apt:
|
||||
update_cache: yes
|
||||
@ -11,9 +12,26 @@
|
||||
- libvirt-clients
|
||||
- bridge-utils
|
||||
|
||||
- name: install libvirt packages [Arch]
|
||||
become: yes
|
||||
community.general.pacman:
|
||||
name:
|
||||
- kvm
|
||||
- qemu-full
|
||||
- libvirt
|
||||
- virt-manager
|
||||
- virt-viewer
|
||||
|
||||
- name: ensure that your user is added to the group libvirtd
|
||||
become: yes
|
||||
user:
|
||||
name: "{{ ansible_user_id }}"
|
||||
append: yes
|
||||
groups: libvirt, kvm
|
||||
|
||||
- name: enable default network
|
||||
become: yes
|
||||
shell:
|
||||
cmd:
|
||||
virsh net-autostart default
|
||||
virsh net-start default
|
||||
|
6
roles/virtual/tasks/looking-glass-arch.yml
Normal file
6
roles/virtual/tasks/looking-glass-arch.yml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: install IntelliJ [AUR]
|
||||
shell:
|
||||
cmd:
|
||||
yay -S --needed --noconfirm \
|
||||
intellij-idea-ultimate-edition
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
- import_tasks: libvirt.yml
|
||||
|
||||
- import_tasks: looking-glass.yml
|
||||
- import_tasks: looking-glass-compile.yml
|
||||
when: ansible_distribution == "Ubuntu"
|
||||
|
||||
- import_tasks: looking-glass-arch.yml
|
||||
when: ansible_distribution == "Archlinux"
|
||||
|
Loading…
Reference in New Issue
Block a user