9 lines
192 B
YAML
9 lines
192 B
YAML
|
---
|
||
|
- name: Disable ipv6
|
||
|
ansible.posix.sysctl:
|
||
|
name: net.ipv6.conf.all.disable_ipv6
|
||
|
value: '1'
|
||
|
state: present
|
||
|
sysctl_file: /etc/sysctl.d/70-disable-ipv6.conf
|
||
|
reload: yes
|