copr: provision - install ethtool again

This one is fedora-copr-only hack, and as such the ethtool package
isn't supposed to be put as Requires: into copr-builder.  To not
C&P between x86_64/ppc64le playbooks, put the ethtool hack into
separate tasks file.
This commit is contained in:
Pavel Raiskup 2019-05-27 07:37:44 +02:00
parent 6d834e67c4
commit b37182fcc8
3 changed files with 11 additions and 4 deletions

View file

@ -50,5 +50,4 @@
tasks:
- include: "provision_builder_tasks.yml"
- name: disable offloading
command: ethtool -K eth0 tso off gro off gso off
- include: "offloading_hack.yml"

View file

@ -50,5 +50,4 @@
tasks:
- include: "provision_builder_tasks.yml"
- name: disable offloading
command: ethtool -K eth0 tso off gro off gso off
- include: "offloading_hack.yml"

View file

@ -0,0 +1,9 @@
# TODO: is this still needed?
# https://bugzilla.redhat.com/show_bug.cgi?id=1268192
- name: install ethtool
package: state=present name=ethtool
when: prepare_base_image
- name: disable offloading
command: ethtool -K eth0 tso off gro off gso off