blob: ca258dfafebd26f63f98d2f5d1aaccfe4bdd923a [file] [log] [blame]
Mohammed Naser64f84a42022-09-01 16:59:30 -04001- name: Create folder for persistent configuration
2 ansible.builtin.file:
3 path: /etc/networkd-dispatcher/configuring.d
4 state: directory
Tadas Sutkaitis4ace4182023-02-27 04:31:52 +02005 mode: "0755"
Mohammed Naser1f756242022-09-01 17:04:51 -04006 owner: root
7 group: root
Mohammed Naser64f84a42022-09-01 16:59:30 -04008
9- name: Install persistent "ethtool" tuning
10 ansible.builtin.copy:
11 src: ethtool
12 dest: /etc/networkd-dispatcher/configuring.d/01-ethtool
Tadas Sutkaitis4ace4182023-02-27 04:31:52 +020013 mode: "0755"
Mohammed Naser64f84a42022-09-01 16:59:30 -040014 owner: root
15 group: root
16
17- name: Run "ethtool" tuning
Mohammed Naserebb19d52023-03-04 12:09:35 +010018 when: ethtool_apply | bool
Mohammed Naser64f84a42022-09-01 16:59:30 -040019 ansible.builtin.command:
20 /etc/networkd-dispatcher/configuring.d/01-ethtool
21 changed_when: false