openqa/worker: install network-scripts on F29+ tap workers

network.service isn't in initscripts any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-12-14 16:18:26 -08:00
parent 874a3c4dd9
commit fb01e9ad79

View file

@ -5,6 +5,14 @@
tags:
- packages
- name: Install network-scripts (on F29+)
dnf:
name: 'network-scripts'
state: present
tags:
- packages
when: ansible_distribution_major_version|int >= 29
- name: Enable ipv4_forward in sysctl
sysctl: name=net.ipv4.ip_forward value=1 state=present sysctl_set=yes reload=yes