6aa268834c
on RHEL-9 there is no iptables package, we need to install iptables-nft package here. In CentOS Stream-9 and Fedora-34 onwards iptables-nft package is available.[1] But we also need to support other distros, so we are introducing iptables_packages var and distro specific var files (having different name) for installing iptables package. [1]. https://pkgs.org/download/iptables-nft Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com> Change-Id: I8d5d3182996fc1e83b7f4f7eb99cf4c347d6ef1f
8 lines
137 B
YAML
8 lines
137 B
YAML
---
|
|
iptables_package: >-
|
|
{% if ansible_distribution_major_version|int <= 8 -%}
|
|
iptables
|
|
{%- else -%}
|
|
iptables-nft
|
|
{%- endif %}
|