Disable IPv6

This commit is contained in:
Stefan Haun 2022-07-23 17:51:31 +02:00
parent f1e8d52719
commit f105584fba
2 changed files with 12 additions and 0 deletions

View 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

View file

@ -31,6 +31,15 @@
group: root
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
#