See if we can escape the :s here

This commit is contained in:
Kevin Fenzi 2016-06-25 20:38:38 +00:00
parent e1fed90fee
commit 0a921a8bc7

View file

@ -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"'