tests: set MTU to 1400 on test node interfaces

In the environment we were testing on, MTU was set to 1500 which causes
download failures of our yum repos. There might be a better way to set
this instead of doing it here in ansible.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/1389/head
Andrew Schoen 2017-03-22 16:44:29 -05:00
parent 66f3f31702
commit a4f05e4926
1 changed files with 9 additions and 0 deletions

View File

@ -35,6 +35,12 @@
group: root group: root
when: not is_atomic when: not is_atomic
- name: set MTU on eth0
command: "ifconfig eth0 mtu 1400 up"
- name: set MTU on eth1
command: "ifconfig eth1 mtu 1400 up"
- hosts: mons - hosts: mons
gather_facts: false gather_facts: false
become: yes become: yes
@ -65,6 +71,9 @@
when: when:
- not is_atomic - not is_atomic
- name: set MTU on eth2
command: "ifconfig eth2 mtu 1400 up"
- hosts: mdss:rgws:clients - hosts: mdss:rgws:clients
gather_facts: false gather_facts: false
become: yes become: yes