summaryrefslogtreecommitdiff
path: root/roles/prepare-dkms/tasks/main.yml
blob: 23533345fb87d2c425fc6af1f2a5092fb95f7c98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- name: prepare dkms on scaleway boxes
  include_tasks: scaleway.yml
  when: "'scaleway-kernel' in group_names"

- name: prepare dkms on for raspberry-pi
  include_tasks: raspberrypi.yml
  when: "('id' in ansible_lsb and ansible_lsb.id == 'Raspbian')"

- name: prepare dkms on normal debian boxes
  include_tasks: default.yml
  when:
    - "'scaleway-kernel' not in group_names"
    - "('id' not in ansible_lsb or ansible_lsb.id != 'Raspbian')"