|
|
|
@ -10,22 +10,26 @@
|
|
|
|
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
|
# configure /usr/lib/udev/rules.d/80-hotplug-cpu-mem.rules
|
|
|
|
|
- name: configure /usr/lib/udev/rules.d/80-hotplug-cpu-mem.rules file
|
|
|
|
|
lineinfile:
|
|
|
|
|
template:
|
|
|
|
|
src: udev.j2
|
|
|
|
|
path: "{{ path_hot_plug_udev }}"
|
|
|
|
|
line: "{{ line_hot_plug_udev }}"
|
|
|
|
|
create: yes
|
|
|
|
|
owner: root
|
|
|
|
|
group: root
|
|
|
|
|
mode: '0644'
|
|
|
|
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
|
|
|
|
|
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
|
# configure /etc/default/grub.d/hotplug.cfg
|
|
|
|
|
- name: configure /etc/default/grub.d/hotplug.cfg file
|
|
|
|
|
lineinfile:
|
|
|
|
|
template:
|
|
|
|
|
src: grub.j2
|
|
|
|
|
path: "{{ path_hot_plug_grub }}"
|
|
|
|
|
line: "{{ line_hot_plug_grub }}"
|
|
|
|
|
create: yes
|
|
|
|
|
owner: root
|
|
|
|
|
group: root
|
|
|
|
|
mode: '0644'
|
|
|
|
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
|
|
|
|
|
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
|
- name: Execute the command update-grub in remote shell
|
|
|
|
|
ansible.builtin.shell: update-grub
|
|
|
|
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
|