summaryrefslogtreecommitdiff
path: root/roles/base/tasks/intel-nic.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-05-31 23:12:36 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-05-31 23:12:36 +0200
commit3a2319c9c58886a7938deabafc66ad4bc128c9f8 (patch)
tree222b41b5b49633b9156c070df830d5c73617edd7 /roles/base/tasks/intel-nic.yml
parentchaos-at-home: deploy apt-repo/base to some more hosts (diff)
move core roles to subdir
Diffstat (limited to 'roles/base/tasks/intel-nic.yml')
-rw-r--r--roles/base/tasks/intel-nic.yml23
1 files changed, 0 insertions, 23 deletions
diff --git a/roles/base/tasks/intel-nic.yml b/roles/base/tasks/intel-nic.yml
deleted file mode 100644
index 2b9be474..00000000
--- a/roles/base/tasks/intel-nic.yml
+++ /dev/null
@@ -1,23 +0,0 @@
----
-- name: fetch default link options for network interfaces
- slurp:
- src: /usr/lib/systemd/network/99-default.link
- register: base_systemd_default_link_unit
-
-- name: disable TSO (intel nic stability fix)
- vars:
- default_link_options: "{{ (base_systemd_default_link_unit.content | b64decode | from_ini)['Link'] }}"
- copy:
- content: |
- [Match]
- MACAddress={{ ansible_default_ipv4.macaddress }}
-
- [Link]
- {% for name, value in default_link_options.items() | sort(attribute='0') %}
- {{ name }}={{ value }}
- {% endfor %}
-
- TCPSegmentationOffload=false
- GenericSegmentationOffload=false
- GenericReceiveOffload=false
- dest: /etc/systemd/network/00-disable-offloading.link