diff options
Diffstat (limited to 'roles/prepare-dkms/tasks/default.yml')
-rw-r--r-- | roles/prepare-dkms/tasks/default.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/roles/prepare-dkms/tasks/default.yml b/roles/prepare-dkms/tasks/default.yml index 638b81f0..84ab3624 100644 --- a/roles/prepare-dkms/tasks/default.yml +++ b/roles/prepare-dkms/tasks/default.yml @@ -1,7 +1,15 @@ --- +- name: load distrubtion specific variables + include_vars: "{{ item }}" + with_first_found: + - files: + - "{{ ansible_distribution_release }}.yml" + - "{{ ansible_distribution }}.yml" + skip: true + - name: install kernel headers and dkms apt: name: - - linux-headers-amd64 # TODO: fix this so it works for ubuntu(hwe) and debian + - "{{ dkms_linux_header_pkgname }}" - dkms state: present |