vn-ansible/roles/debian-qemu/tasks/hotplug.yml

17 lines
376 B
YAML
Raw Normal View History

2024-09-23 12:30:38 +00:00
- 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