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:
parent
874a3c4dd9
commit
fb01e9ad79
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue