fix em0 driver

This commit is contained in:
927589452 2019-09-12 21:28:06 +02:00
parent 8a783d63fb
commit c5d96917dc
2 changed files with 26 additions and 5 deletions

22
tasks/FreeBSD-em0.yml Normal file
View file

@ -0,0 +1,22 @@
---
- name: install the updated intel driver
package:
name: intel-em-kmod
state: present
become: true
tags:
- installation
- name: activate the updated intel driver
lineinfile:
path: "/boot/loader.conf"
regexp: "^{{ item.name }}"
line: "{{ item.name }}={{ item.val }}"
become: true
loop: "{{ sysctl_setting }}"
vars:
sysctl_setting:
- name: "if_em_updated_load"
val: 1
tags:
- configuration