homeserver/friedhof/mgrote_r8152_kernel_module/tasks/dkms.yml
Michael Grote 7a24089031 fix linter errors (#584)
Reviewed-on: #584
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-25 22:26:17 +02:00

35 lines
744 B
YAML

---
- name: dkms add
become: true
ansible.builtin.shell: dkms add -m r8125 -v "{{ r8152_version }}"
args:
chdir: "{{ r8152_src_dir }}"
- name: dkms build
become: true
ansible.builtin.shell: dkms build -m r8125 -v "{{ r8152_version }}"
args:
chdir: "{{ r8152_src_dir }}"
- name: dkms install
become: true
ansible.builtin.shell: dkms install -m r8125 -v "{{ r8152_version }}"
args:
chdir: "{{ r8152_src_dir }}"
- name: depmod -a
become: true
ansible.builtin.shell: depmod -a
args:
chdir: "{{ r8152_src_dir }}"
- name: update initramfs
become: true
ansible.builtin.shell: update-initramfs -u
args:
chdir: "{{ r8152_src_dir }}"
- name: reboot
ansible.builtin.reboot:
reboot_timeout: 120