Cut out the middleman on DKMS

This commit is contained in:
Salt 2020-07-27 14:33:31 -05:00
parent 0dc6140189
commit a6cdd5314f

View File

@ -11,13 +11,5 @@
git:
repo: "{{ dkms_repo }}"
dest: "/usr/src/{{ dkms_name }}"
register: r
- name: Add DKMS module
command:
argv:
- /usr/sbin/dkms
- add
- "/usr/src/{{ dkms_name }}"
notify: dkms autoinstall
when: r is changed
become: yes