From: Kienan Stewart Date: Tue, 29 Oct 2024 17:29:10 +0000 (-0400) Subject: ansible: Correct default kernel.core_pattern sysctl configuration X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=74c5e73d5d1961fcd8c530323b180c688f624e5c;p=lttng-ci.git ansible: Correct default kernel.core_pattern sysctl configuration Change-Id: Iec26481bf65b6d66e810fec54360a226f133d160 Signed-off-by: Kienan Stewart --- 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']