summaryrefslogtreecommitdiff
path: root/roles/prepare-dkms/tasks/default.yml
blob: 84ab3624437ec8c7c63b40c7b8f7545b7f9b94f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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:
    - "{{ dkms_linux_header_pkgname }}"
    - dkms
    state: present