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 | eea7c7f0590df49658f42ae44d44eee7bb10fd99 (patch) | |
| tree | 7732ae1f8b320a4848e9694904f7f040290c9460 /roles/linux_headers/tasks/main.yml | |
| parent | bda189c6b69fa54a6a5d4a32de674cf03e76b071 (diff) | |
Fix linux headers role on different OSs
Diffstat (limited to 'roles/linux_headers/tasks/main.yml')
| -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" |
