mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2026-03-25 22:37:11 +00:00
Updated disable IPv6 logic
Signed-off-by: George Nalen <georgen@mindpointgroup.com>
This commit is contained in:
parent
de09b5d150
commit
7ff8e7b6b9
4 changed files with 27 additions and 2 deletions
|
|
@ -4,4 +4,7 @@
|
|||
{% if rhel9cis_rule_3_1_1 and not rhel9cis_ipv6_required %}
|
||||
net.ipv6.conf.all.disable_ipv6 = 1
|
||||
net.ipv6.conf.default.disable_ipv6 = 1
|
||||
{% for interface in ansible_interfaces %}
|
||||
net.ipv6.conf.{{ interface }}.disable_ipv6 = 1
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue