Cut out the middleman on DKMS
This commit is contained in:
parent
0dc6140189
commit
a6cdd5314f
@ -11,13 +11,5 @@
|
|||||||
git:
|
git:
|
||||||
repo: "{{ dkms_repo }}"
|
repo: "{{ dkms_repo }}"
|
||||||
dest: "/usr/src/{{ dkms_name }}"
|
dest: "/usr/src/{{ dkms_name }}"
|
||||||
register: r
|
|
||||||
- name: Add DKMS module
|
|
||||||
command:
|
|
||||||
argv:
|
|
||||||
- /usr/sbin/dkms
|
|
||||||
- add
|
|
||||||
- "/usr/src/{{ dkms_name }}"
|
|
||||||
notify: dkms autoinstall
|
notify: dkms autoinstall
|
||||||
when: r is changed
|
|
||||||
become: yes
|
become: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user