Compare commits
3 Commits
6a1251fa1e
...
1da9fb16cf
Author | SHA1 | Date | |
---|---|---|---|
1da9fb16cf | |||
17cfd80fcb | |||
92f2f20eb3 |
@ -14,10 +14,10 @@
|
|||||||
- laptop
|
- laptop
|
||||||
- backup
|
- backup
|
||||||
- gaming
|
- gaming
|
||||||
|
- virtual
|
||||||
|
|
||||||
# - ego
|
# - ego
|
||||||
# - dev-flutter
|
# - dev-flutter
|
||||||
# - virtual
|
|
||||||
# - terraform
|
# - terraform
|
||||||
- postinstall
|
- postinstall
|
||||||
vars:
|
vars:
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
become: yes
|
become: yes
|
||||||
community.general.pacman:
|
community.general.pacman:
|
||||||
name:
|
name:
|
||||||
|
- playerctl
|
||||||
- helvum
|
- helvum
|
||||||
- pavucontrol
|
- pavucontrol
|
||||||
- pasystray
|
- pasystray
|
||||||
|
@ -11,6 +11,8 @@
|
|||||||
|
|
||||||
- import_tasks: bluetooth.yml
|
- import_tasks: bluetooth.yml
|
||||||
|
|
||||||
|
- import_tasks: browsers.yml
|
||||||
|
|
||||||
- import_tasks: cron.yml
|
- import_tasks: cron.yml
|
||||||
|
|
||||||
- import_tasks: cups.yml
|
- import_tasks: cups.yml
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: install libvirt packages [Ubuntu]
|
- name: "[Ubuntu] install libvirt packages"
|
||||||
when: ansible_distribution == "Ubuntu"
|
when: ansible_distribution == "Ubuntu"
|
||||||
become: yes
|
become: yes
|
||||||
apt:
|
apt:
|
||||||
@ -12,26 +12,44 @@
|
|||||||
- libvirt-clients
|
- libvirt-clients
|
||||||
- bridge-utils
|
- bridge-utils
|
||||||
|
|
||||||
- name: install libvirt packages [Arch]
|
- name: "[Arch] install libvirt packages"
|
||||||
become: yes
|
become: yes
|
||||||
community.general.pacman:
|
community.general.pacman:
|
||||||
name:
|
name:
|
||||||
- kvm
|
- dnsmasq
|
||||||
- qemu-full
|
- qemu-full
|
||||||
- libvirt
|
- libvirt
|
||||||
- virt-manager
|
- virt-manager
|
||||||
- virt-viewer
|
- virt-viewer
|
||||||
|
|
||||||
- name: ensure that your user is added to the group libvirtd
|
- name: "[Ubuntu] ensure that your user is added to the group libvirtd"
|
||||||
|
when: ansible_distribution == "Ubuntu"
|
||||||
become: yes
|
become: yes
|
||||||
user:
|
user:
|
||||||
name: "{{ ansible_user_id }}"
|
name: "{{ ansible_user_id }}"
|
||||||
append: yes
|
append: yes
|
||||||
groups: libvirt, kvm
|
groups: libvirt, kvm
|
||||||
|
|
||||||
- name: enable default network
|
- name: "[Arch] ensure that your user is added to the group libvirtd"
|
||||||
|
when: ansible_distribution == "Ubuntu"
|
||||||
|
become: yes
|
||||||
|
user:
|
||||||
|
name: "{{ ansible_user_id }}"
|
||||||
|
append: yes
|
||||||
|
groups:
|
||||||
|
- libvirt-qemu
|
||||||
|
- qemu
|
||||||
|
|
||||||
|
- name: "[All] Enable service"
|
||||||
|
become: yes
|
||||||
|
ansible.builtin.systemd:
|
||||||
|
name: libvirtd
|
||||||
|
state: started
|
||||||
|
enabled: yes
|
||||||
|
|
||||||
|
- name: "[All] enable default network"
|
||||||
become: yes
|
become: yes
|
||||||
shell:
|
shell:
|
||||||
cmd:
|
cmd: |
|
||||||
virsh net-autostart default
|
virsh net-autostart default
|
||||||
virsh net-start default
|
virsh net-start default
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: install IntelliJ [AUR]
|
- name: "[Arch] install looking-glass"
|
||||||
shell:
|
shell:
|
||||||
cmd:
|
cmd:
|
||||||
yay -S --needed --noconfirm \
|
yay -S --needed --noconfirm looking-glass
|
||||||
intellij-idea-ultimate-edition
|
|
||||||
|
Loading…
Reference in New Issue
Block a user