mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 19:42:55 +08:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user