update
This commit is contained in:
parent
46fe41189c
commit
2cd1cf5afc
4 changed files with 37 additions and 0 deletions
|
|
@ -15,3 +15,6 @@
|
||||||
|
|
||||||
- name: configure systemd
|
- name: configure systemd
|
||||||
include_tasks: "./scripts/configure_systemd.yml"
|
include_tasks: "./scripts/configure_systemd.yml"
|
||||||
|
|
||||||
|
- name: configure qemu
|
||||||
|
include_tasks: "./scripts/configure_qemu.yml"
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@ required_packages_brew:
|
||||||
required_packages_apt:
|
required_packages_apt:
|
||||||
# - powershell
|
# - powershell
|
||||||
- sway
|
- sway
|
||||||
|
- stow
|
||||||
- zsh
|
- zsh
|
||||||
- curl
|
- curl
|
||||||
- wofi
|
- wofi
|
||||||
|
|
@ -60,6 +61,17 @@ required_packages_apt:
|
||||||
- fzf
|
- fzf
|
||||||
- zoxide
|
- zoxide
|
||||||
- flameshot
|
- flameshot
|
||||||
|
- qemu-kvm
|
||||||
|
- qemu-system
|
||||||
|
- qemu-utils
|
||||||
|
- python3
|
||||||
|
- python3-pip
|
||||||
|
- libvirt-clients
|
||||||
|
- libvirt-daemon-system
|
||||||
|
- bridge-utils
|
||||||
|
- virtinst
|
||||||
|
- libvirt-daemon
|
||||||
|
- virt-manager
|
||||||
|
|
||||||
flatpak_remote:
|
flatpak_remote:
|
||||||
- {name: 'flathub', url: "https://dl.flathub.org/repo/flathub.flatpakrepo"}
|
- {name: 'flathub', url: "https://dl.flathub.org/repo/flathub.flatpakrepo"}
|
||||||
|
|
@ -77,3 +89,6 @@ go_apps:
|
||||||
- github.com/charmbracelet/glow@latest
|
- github.com/charmbracelet/glow@latest
|
||||||
- github.com/swaggo/swag/cmd/swag@latest
|
- github.com/swaggo/swag/cmd/swag@latest
|
||||||
- github.com/air-verse/air@latest
|
- github.com/air-verse/air@latest
|
||||||
|
|
||||||
|
systemd_service:
|
||||||
|
- libvirtd.service
|
||||||
|
|
|
||||||
11
ansible/scripts/configure_qemu.yml
Normal file
11
ansible/scripts/configure_qemu.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
- name: set default network
|
||||||
|
shell: "{{ item }}"
|
||||||
|
with_items:
|
||||||
|
- "virsh net-start default"
|
||||||
|
- "virsh net-autostart default"
|
||||||
|
ignore_errors: yes
|
||||||
|
|
||||||
|
- name: add user to libvirt
|
||||||
|
user:
|
||||||
|
name: user
|
||||||
|
groups: libvirt,libvirt-qemu,kvm,input,disk
|
||||||
|
|
@ -20,6 +20,14 @@
|
||||||
- not homebrew_check.stat.exists
|
- not homebrew_check.stat.exists
|
||||||
- install_homebrew_if_missing
|
- install_homebrew_if_missing
|
||||||
|
|
||||||
|
- name: Load Brew shellenv
|
||||||
|
become_user: user
|
||||||
|
shell: eval "$(/home/linuxbrew/.linuxbrew/bin brew shellenv)"
|
||||||
|
when:
|
||||||
|
- required_packages_brew is defined
|
||||||
|
- not homebrew_check.stat.exists
|
||||||
|
- install_homebrew_if_missing
|
||||||
|
|
||||||
- name: Install Brew Taps
|
- name: Install Brew Taps
|
||||||
become_user: user
|
become_user: user
|
||||||
community.general.homebrew_tap:
|
community.general.homebrew_tap:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue