From cfbaef3f864457e61a52b8836e80ae01e907fe94 Mon Sep 17 00:00:00 2001 From: Ivaylo Markov Date: Wed, 18 Oct 2023 18:19:15 +0300 Subject: [PATCH] Add kdump configuration for EL distributions --- .../tasks/post_install.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/install_storpool_components/tasks/post_install.yml b/roles/install_storpool_components/tasks/post_install.yml index 06763b6..1c08d8c 100644 --- a/roles/install_storpool_components/tasks/post_install.yml +++ b/roles/install_storpool_components/tasks/post_install.yml @@ -54,6 +54,18 @@ when: - ansible_os_family == "Debian" +- name: Increasing crashkernel size (EL) + become: true + ansible.builtin.lineinfile: + path: /etc/default/grub + regexp: crashkernel=.* + line: GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT crashkernel=1024M" + notify: + - Update GRUB configuration + - Reboot host + when: + - ansible_os_family == "RedHat" + - name: Waiting for memory tests to complete become: true async_status: