From 74c5e73d5d1961fcd8c530323b180c688f624e5c Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Tue, 29 Oct 2024 13:29:10 -0400 Subject: [PATCH] ansible: Correct default kernel.core_pattern sysctl configuration Change-Id: Iec26481bf65b6d66e810fec54360a226f133d160 Signed-off-by: Kienan Stewart --- automation/ansible/roles/common-node/tasks/main.yml | 2 +- automation/ansible/roles/incus/tasks/main.yml | 2 +- automation/ansible/roles/lxd/tasks/main.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/automation/ansible/roles/common-node/tasks/main.yml b/automation/ansible/roles/common-node/tasks/main.yml index c9c5470..abb3d1b 100644 --- a/automation/ansible/roles/common-node/tasks/main.yml +++ b/automation/ansible/roles/common-node/tasks/main.yml @@ -18,7 +18,7 @@ owner: 'root' group: 'root' mode: '0644' - content: "kernel.core_pattern /tmp/core.%p\n" + content: "kernel.core_pattern = /tmp/core.%p\n" - name: 'Check current core pattern' ansible.builtin.command: argv: ['cat', '/proc/sys/kernel/core_pattern'] diff --git a/automation/ansible/roles/incus/tasks/main.yml b/automation/ansible/roles/incus/tasks/main.yml index 10e77a1..0d99179 100644 --- a/automation/ansible/roles/incus/tasks/main.yml +++ b/automation/ansible/roles/incus/tasks/main.yml @@ -12,7 +12,7 @@ owner: 'root' group: 'root' mode: '0644' - content: "kernel.core_pattern /tmp/core.%p\n" + content: "kernel.core_pattern = /tmp/core.%p\n" - name: 'Check current core pattern' ansible.builtin.command: argv: ['cat', '/proc/sys/kernel/core_pattern'] diff --git a/automation/ansible/roles/lxd/tasks/main.yml b/automation/ansible/roles/lxd/tasks/main.yml index 0a3c58b..ac2dfc0 100644 --- a/automation/ansible/roles/lxd/tasks/main.yml +++ b/automation/ansible/roles/lxd/tasks/main.yml @@ -9,7 +9,7 @@ owner: 'root' group: 'root' mode: '0644' - content: "kernel.core_pattern /tmp/core.%p\n" + content: "kernel.core_pattern = /tmp/core.%p\n" - name: 'Check current core pattern' ansible.builtin.command: argv: ['cat', '/proc/sys/kernel/core_pattern'] -- 2.34.1