openqa/worker: always install network-scripts

No need to conditionalize this any more, F29 is about to go EOL.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-11-06 11:16:57 -08:00 committed by Pierre-Yves Chibon
parent b2ee62595c
commit f26edfa7e7

View file

@ -1,18 +1,10 @@
- name: Install packages
package:
name: ['os-autoinst-openvswitch', 'tunctl']
name: ['os-autoinst-openvswitch', 'tunctl', 'network-scripts']
state: present
tags:
- packages
- name: Install network-scripts (on F29+)
package:
name: 'network-scripts'
state: present
tags:
- packages
when: ansible_distribution_major_version|int >= 29 and ansible_distribution == 'Fedora'
- name: Enable ipv4_forward in sysctl
sysctl: name=net.ipv4.ip_forward value=1 state=present sysctl_set=yes reload=yes