diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-04-25 01:13:55 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-04-25 01:13:55 +0200 |
| commit | 43713d18273da0ec550f28bf697903dc6cec72cc (patch) | |
| tree | 7732ae1f8b320a4848e9694904f7f040290c9460 /roles/linux_headers/tasks | |
| parent | b7095cb5da0ce3381c2b2e4f8681df200ad1b16c (diff) | |
Fix linux headers role on different OSs
Diffstat (limited to 'roles/linux_headers/tasks')
| -rw-r--r-- | roles/linux_headers/tasks/main.yml | 5 |
1 files changed, 4 insertions, 1 deletions
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" |
