Commit 21b80944 authored by nanahira's avatar nanahira

don't install kernel for sid

parent 35a76c09
Pipeline #1880 passed with stage
in 3 minutes and 55 seconds
......@@ -21,6 +21,7 @@
state: latest
update_cache: true
default_release: '{{ target_distribution }}-backports'
when: ansible_distribution_release != 'sid'
- name: check RTL8111
shell: 'lspci | grep RTL8111'
register: check_rtl_result
......@@ -31,7 +32,12 @@
apt:
name: r8168-dkms
default_release: '{{ target_distribution }}-backports'
when: 'check_rtl_result.rc == 0'
when: 'check_rtl_result.rc == 0' and ansible_distribution_release != 'sid'
- name: install RTL8111 driver for sid
become: true
apt:
name: r8168-dkms
when: 'check_rtl_result.rc == 0' and ansible_distribution_release == 'sid'
- name: remove wireguard-dkms
become: true
apt:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment