blob: ca258dfafebd26f63f98d2f5d1aaccfe4bdd923a [file] [log] [blame] [edit]
- name: Create folder for persistent configuration
ansible.builtin.file:
path: /etc/networkd-dispatcher/configuring.d
state: directory
mode: "0755"
owner: root
group: root
- name: Install persistent "ethtool" tuning
ansible.builtin.copy:
src: ethtool
dest: /etc/networkd-dispatcher/configuring.d/01-ethtool
mode: "0755"
owner: root
group: root
- name: Run "ethtool" tuning
when: ethtool_apply | bool
ansible.builtin.command:
/etc/networkd-dispatcher/configuring.d/01-ethtool
changed_when: false