We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0867f86 + 05c915b commit 7fb44f7Copy full SHA for 7fb44f7
linux_os/guide/system/network/network-nftables/set_nftables_loopback_traffic/ansible/shared.yml
@@ -16,23 +16,15 @@
16
register: ipv6_status
17
18
- name: Check sysctl value of net.ipv6.conf.all.disable_ipv6
19
-{{% if product == "rhel7" %}}
20
- ansible.builtin.sysctl:
21
-{{% else %}}
22
- ansible.posix.sysctl:
23
-{{%endif %}}
+ sysctl:
24
name: net.ipv6.conf.all.disable_ipv6
25
state: present
26
value: "1"
27
check_mode: true
28
register: sysctl_ipv6_all
29
30
- name: Check sysctl value of net.ipv6.conf.default.disable_ipv6
31
32
33
34
35
36
name: net.ipv6.conf.default.disable_ipv6
37
38
0 commit comments