See if we can escape the :s here
This commit is contained in:
parent
e1fed90fee
commit
0a921a8bc7
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@
|
|||
|
||||
- name: disable offloading
|
||||
command: ethtool -K eth0 tso off gro off gso off
|
||||
when: offloating.stdout.find('tcp-segmentation-offload: on') == -1 and offloating.stdout.find('generic-receive-offload: on') == -1 and offloating.stdout.find('generic-segmentation-offload: on')
|
||||
when: offloating.stdout.find('tcp-segmentation-offload\: on') == -1 and offloating.stdout.find('generic-receive-offload\: on') == -1 and offloating.stdout.find('generic-segmentation-offload\: on')
|
||||
|
||||
- name: disable offloading (persitently)
|
||||
lineinfile: dest=/etc/sysconfig/network-scripts/ifcfg-eth0 backup=yes state=present line='ETHTOOL_OPTS="-K ${DEVICE} tso off gro off gso off"'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue