From 43713d18273da0ec550f28bf697903dc6cec72cc Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sat, 25 Apr 2026 01:13:55 +0200 Subject: Fix linux headers role on different OSs --- roles/linux_headers/tasks/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'roles/linux_headers/tasks') diff --git a/roles/linux_headers/tasks/main.yml b/roles/linux_headers/tasks/main.yml index 454e4af8..76b23e8b 100644 --- a/roles/linux_headers/tasks/main.yml +++ b/roles/linux_headers/tasks/main.yml @@ -1,6 +1,9 @@ --- +- name: "Include OS-specific variables" + ansible.builtin.include_vars: "{{ ansible_facts['os_family'] | lower }}.yml" + - name: "Ensure linux-headers is installed" become: true ansible.builtin.package: - name: "linux-headers" + name: "{{ linux_headers_pkg }}" state: "present" -- cgit v1.2.3