From 70b1127c98356b6af81e536ad72b7bf2e1b34a56 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Tue, 8 Aug 2023 13:51:34 -0400 Subject: [PATCH] ansible: Install linux-headers on Debian x86_64 nodes These are required for lttng-modules builds to succeed Signed-off-by: Kienan Stewart Change-Id: Idc1b1e2e9a5ac97d1810af3bd7c6f7b0dbe8bf67 --- automation/ansible/roles/common-node/tasks/setup-Debian.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/automation/ansible/roles/common-node/tasks/setup-Debian.yml b/automation/ansible/roles/common-node/tasks/setup-Debian.yml index f1049a1..953bad6 100644 --- a/automation/ansible/roles/common-node/tasks/setup-Debian.yml +++ b/automation/ansible/roles/common-node/tasks/setup-Debian.yml @@ -12,6 +12,10 @@ when: ansible_architecture == 'i386' and ansible_distribution == 'Debian' apt: name: ['linux-headers-686', 'linux-headers-686-pae'] + - name: Install amd64 linux headers Debian + when: ansible_architecture == 'x86_64' and ansible_distribution == 'Debian' + apt: + name: ['linux-headers-amd64'] - name: Install linux headers Ubuntu when: ansible_distribution == 'Ubuntu' apt: -- 2.34.1