feat(roles/common): added nic offloads optmiziation

This commit is contained in:
ITQ committed 2026-10-12 23:14:51 +03:00
1 parent 6c82a8a699
commit 0bbc3ed7f7
4 files changed
+22 -1

No files matched your search

+11 -1
View File
@@ -43,7 +43,7 @@
notify: Reload systemd
tags: optimization
- name: Enable and start GPU unbind servie
- name: Enable and start GPU unbind service
become: true
ansible.builtin.systemd:
name: gpu-unbind-{{ item.label }}
@@ -51,3 +51,13 @@
state: started
loop: "{{ gpu_unbind_devices }}"
tags: optimization
- name: NIC offloads
when: enable_nic_offloads | bool
become: true
ansible.builtin.template:
src: nic-offloads.j2
dest: /etc/network/if-up.d/{{ ansible_default_ipv4.interface }}
mode: "0755"
notify: Restart networking
tags: optimization