diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-09-09 21:53:08 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-09-09 21:53:08 +0200 |
commit | f41199feae553f0d2269f507382a82470277c8ae (patch) | |
tree | e09934c5ec08f3ad836b47398c86d1e85057d8da /roles/prepare-dkms/tasks/default.yml | |
parent | added admin-user role to mimas (diff) |
added zfs role
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 |