21 lines
412 B
YAML
21 lines
412 B
YAML
---
|
|
- name: Install virtualization packages
|
|
community.general.pacman:
|
|
name:
|
|
- qemu-full
|
|
- virt-manager
|
|
- cloud-image-utils
|
|
state: present
|
|
|
|
- name: Enable libvirtd service
|
|
ansible.builtin.service:
|
|
name: libvirtd
|
|
state: started
|
|
enabled: true
|
|
|
|
- name: Add user to libvirt group
|
|
ansible.builtin.user:
|
|
name: "{{ ansible_user_id }}"
|
|
groups: libvirt
|
|
append: true
|