]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: Set MTU=9000 on 25Gb NICs too 476/head
authorDavid Galloway <dgallowa@redhat.com>
Fri, 27 Sep 2019 20:59:27 +0000 (16:59 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Fri, 27 Sep 2019 20:59:27 +0000 (16:59 -0400)
Movin' on up!

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/testnode/tasks/secondary_nic.yml

index 6fbb96b3d8b1d1fc337415ec2d65715bde18c83f..08415081d90dc983b6d309732d99035822ca3a4b 100644 (file)
@@ -30,7 +30,7 @@
   set_fact: mtu=9000
   when:
     - nic_to_configure_speed is defined
-    - nic_to_configure_speed.stdout == '10000Mb/s'
+    - (nic_to_configure_speed.stdout == '10000Mb/s' or nic_to_configure_speed.stdout == '25000Mb/s')
 
 - name: "Write Ubuntu network config for {{ nic_to_configure }}"
   blockinfile: