From 85aabcbb11390ea61aff51b0a075a51aff3fe74d Mon Sep 17 00:00:00 2001 From: Mark Wong Date: Tue, 31 Oct 2023 20:23:03 +0000 Subject: [PATCH] Install systemd-coredump on debian based distros When enable_core_dumps is true. --- roles/manage_operating_system/tasks/enable_core_dump.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/manage_operating_system/tasks/enable_core_dump.yml b/roles/manage_operating_system/tasks/enable_core_dump.yml index 6bdb13aa..4581be44 100644 --- a/roles/manage_operating_system/tasks/enable_core_dump.yml +++ b/roles/manage_operating_system/tasks/enable_core_dump.yml @@ -27,3 +27,10 @@ state: present when: ansible_os_family == 'RedHat' become: true + +- name: Install systemd-coredump + ansible.builtin.package: + name: systemd-coredump + state: present + when: ansible_os_family == 'Debian' + become: true