Fix host kernel modules when using linux-hwe on ubuntu
Currently on ubuntu 18.04 there is new linux-hwe kernel that uses linux 5.0 In newer versions nf_conntrack_ipv4 and nf_conntrack_ipv6 was merged into nf_conntrack. This fixes setup hosts playbook on systems that use linux-hwe Depends-On: https://review.opendev.org/687142/ Change-Id: I47defcb18ac6b6059e22cd294e9461b69f015471
This commit is contained in:
parent
d4cd6e09fe
commit
78db2a57da
@ -39,8 +39,9 @@ openstack_host_kernel_modules:
|
||||
- name: iscsi_tcp
|
||||
- name: nbd
|
||||
- name: nf_conntrack
|
||||
- name: nf_conntrack_ipv4
|
||||
- name: nf_conntrack_ipv6
|
||||
#NOTE: 4.19 kernel merged nf_conntrack_ipv{4,6} into nf_conntrack
|
||||
- name: "{{ (hostvars[inventory_hostname]['ansible_kernel'] is version('4.19.0', '<=')) | ternary('nf_conntrack_ipv4', '') }}"
|
||||
- name: "{{ (hostvars[inventory_hostname]['ansible_kernel'] is version('4.19.0', '<=')) | ternary('nf_conntrack_ipv6', '') }}"
|
||||
- name: nf_defrag_ipv4
|
||||
- name: nf_nat
|
||||
- name: nf_nat_ipv4
|
||||
|
Loading…
Reference in New Issue
Block a user