Disable IPv6
This commit is contained in:
parent
f1e8d52719
commit
f105584fba
2 changed files with 12 additions and 0 deletions
3
files/sysctl-no-ipv6.conf
Normal file
3
files/sysctl-no-ipv6.conf
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
net.ipv6.conf.all.disable_ipv6 = 1
|
||||||
|
net.ipv6.conf.default.disable_ipv6 = 1
|
||||||
|
net.ipv6.conf.lo.disable_ipv6 = 1
|
|
@ -31,6 +31,15 @@
|
||||||
group: root
|
group: root
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
|
||||||
|
- name: Disable IPv6
|
||||||
|
# Because it is not working....
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: files/sysctl-no-ipv6.conf
|
||||||
|
dest: /etc/sysctl.d/99-systcl-no-ipv6.conf
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: '0644'
|
||||||
|
|
||||||
|
|
||||||
### Sesam for SSH access
|
### Sesam for SSH access
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue