vn-ansible/roles/config-hot-plug/tasks/main.yaml

19 lines
924 B
YAML
Raw Normal View History

2024-01-09 17:58:56 +00:00
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Install and configure HOT-PLUG
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# 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:
path: "{{ path_hot_plug_udev }}"
line: "{{ line_hot_plug_udev }}"
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# configure /etc/default/grub.d/hotplug.cfg
- name: configure /etc/default/grub.d/hotplug.cfg file
lineinfile:
path: "{{ path_hot_plug_grub }}"
line: "{{ line_hot_plug_grub }}"
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++