2022-07-29 18:33:00 +01:00
|
|
|
## This file is managed by Ansible, YOUR CHANGES WILL BE LOST!
|
2022-03-30 16:34:33 +01:00
|
|
|
|
|
|
|
|
# IPv6 disable
|
2023-09-06 08:27:34 +01:00
|
|
|
{% if rhel9cis_rule_3_1_1 and not rhel9cis_ipv6_required %}
|
2023-08-08 18:53:23 +01:00
|
|
|
net.ipv6.conf.all.disable_ipv6 = 1
|
2022-03-30 11:37:10 +01:00
|
|
|
net.ipv6.conf.default.disable_ipv6 = 1
|
2025-12-23 11:20:21 -05:00
|
|
|
{% for interface in ansible_interfaces %}
|
|
|
|
|
net.ipv6.conf.{{ interface }}.disable_ipv6 = 1
|
|
|
|
|
{% endfor %}
|
2022-03-30 11:37:10 +01:00
|
|
|
{% endif %}
|