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

19 lines
415 B
YAML

- 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