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:
parent
b2ee62595c
commit
f26edfa7e7
1 changed files with 1 additions and 9 deletions
|
@ -1,18 +1,10 @@
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
package:
|
package:
|
||||||
name: ['os-autoinst-openvswitch', 'tunctl']
|
name: ['os-autoinst-openvswitch', 'tunctl', 'network-scripts']
|
||||||
state: present
|
state: present
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- 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
|
- name: Enable ipv4_forward in sysctl
|
||||||
sysctl: name=net.ipv4.ip_forward value=1 state=present sysctl_set=yes reload=yes
|
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