vn-ansible/roles/debian-qemu/tasks/main.yaml

23 lines
501 B
YAML

- name: Install QEMU guest agent
apt:
name: qemu-guest-agent
state: present
- name: Configure udev hotplug rules
copy:
src: 80-hotplug-cpu-mem.rules
dest: /usr/lib/udev/rules.d/
mode: u=rw,g=r,o=r
owner: root
group: root
- name: Configure GRUB for hotplug
copy:
src: hotplug.cfg
dest: /etc/default/grub.d/
mode: u=rw,g=r,o=r
owner: root
group: root
- name: Generate GRUB configuration
command: update-grub
- include_role:
name: linux-autofs