mg
556c5e2d78
Merge branch 'master' into dkms wip wip 2 wip Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#121 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
34 lines
795 B
YAML
34 lines
795 B
YAML
---
|
|
- name: dkms add
|
|
become: yes
|
|
ansible.builtin.shell: dkms add -m r8125 -v "{{ r8152_version }}"
|
|
args:
|
|
chdir: "{{ r8152_src_dir }}"
|
|
|
|
- name: dkms build
|
|
become: yes
|
|
ansible.builtin.shell: dkms build -m r8125 -v "{{ r8152_version }}"
|
|
args:
|
|
chdir: "{{ r8152_src_dir }}"
|
|
|
|
- name: dkms install
|
|
become: yes
|
|
ansible.builtin.shell: dkms install -m r8125 -v "{{ r8152_version }}"
|
|
args:
|
|
chdir: "{{ r8152_src_dir }}"
|
|
|
|
- name: depmod -a
|
|
become: yes
|
|
ansible.builtin.shell: depmod -a
|
|
args:
|
|
chdir: "{{ r8152_src_dir }}"
|
|
|
|
- name: update initramfs
|
|
become: yes
|
|
ansible.builtin.shell: update-initramfs -u
|
|
args:
|
|
chdir: "{{ r8152_src_dir }}"
|
|
|
|
- name: reboot
|
|
ansible.builtin.reboot:
|
|
reboot_timeout: 120
|