ansible/roles/dkms/tasks/main.yml

16 lines
316 B
YAML

#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: Install DKMS module
block:
- name: Install packages
apt:
name:
- dkms
- name: Clone repository
git:
repo: "{{ dkms_repo }}"
dest: "/usr/src/{{ dkms_name }}"
notify: dkms autoinstall
become: yes