2024-10-16 15:53:15 +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
|
2024-10-17 12:19:53 +00:00
|
|
|
register: grub
|
2024-10-16 15:53:15 +00:00
|
|
|
- name: Generate GRUB configuration
|
|
|
|
command: update-grub
|
2024-10-17 12:19:53 +00:00
|
|
|
when: grub.changed
|