Commit d20fa56c authored by nanahira's avatar nanahira

rtl

parent 84b0070f
Pipeline #1590 passed with stage
in 3 minutes and 41 seconds
- name: use non-cloud kernel
set_fact:
install_kernel_name: linux-image-amd64
install_kernel_name: linux-image-amd64,linux-headers-amd64
when: not (ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm")
- name: use cloud kernel
set_fact:
install_kernel_name: linux-image-cloud-amd64
install_kernel_name: linux-image-cloud-amd64,linux-headers-cloud-amd64
when: ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm"
- name: install kernel
become: true
......@@ -13,6 +13,15 @@
state: latest
update_cache: true
default_release: '{{ target_distribution }}-backports'
- name: check RTL8111
shell: 'lspci | grep RTL8111 || true'
register: check_rtl_result
- name: install RTL8111 driver
become: true
apt:
name: r8168-dkms
default_release: '{{ target_distribution }}-backports'
when: check_rtl_result.stdout
- 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