This commit is contained in:
2023-04-28 04:25:32 -04:00
parent 81d2ea447a
commit ab0401f27b
34 changed files with 144 additions and 144 deletions

View File

@@ -1,15 +1,15 @@
- name: Install QEMU/KVM
apt:
ansible.builtin.apt:
name: qemu-kvm
state: present
- name: Install Libvirt
apt:
ansible.builtin.apt:
name: ["libvirt-clients", "libvirt-daemon-system"]
state: present
- name: Add users to libvirt group
user:
ansible.builtin.user:
name: "{{ item }}"
groups: libvirt
append: yes
@@ -34,7 +34,7 @@
# Prevent downloaded ISOs from being rehashed every run
- name: Create NODOWNLOAD file
file:
ansible.builtin.file:
path: /var/lib/libvirt/images/NODOWNLOAD
state: touch
when: download_isos.changed