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
|
||||
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:
|
||||
# - powershell
|
||||
- sway
|
||||
- stow
|
||||
- zsh
|
||||
- curl
|
||||
- wofi
|
||||
|
|
@ -60,6 +61,17 @@ required_packages_apt:
|
|||
- fzf
|
||||
- zoxide
|
||||
- flameshot
|
||||
- qemu-kvm
|
||||
- qemu-system
|
||||
- qemu-utils
|
||||
- python3
|
||||
- python3-pip
|
||||
- libvirt-clients
|
||||
- libvirt-daemon-system
|
||||
- bridge-utils
|
||||
- virtinst
|
||||
- libvirt-daemon
|
||||
- virt-manager
|
||||
|
||||
flatpak_remote:
|
||||
- {name: 'flathub', url: "https://dl.flathub.org/repo/flathub.flatpakrepo"}
|
||||
|
|
@ -77,3 +89,6 @@ go_apps:
|
|||
- github.com/charmbracelet/glow@latest
|
||||
- github.com/swaggo/swag/cmd/swag@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
|
||||
- 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
|
||||
become_user: user
|
||||
community.general.homebrew_tap:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue