diff --git a/files/sysctl-no-ipv6.conf b/files/sysctl-no-ipv6.conf new file mode 100644 index 0000000..8c41d94 --- /dev/null +++ b/files/sysctl-no-ipv6.conf @@ -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 diff --git a/platon.yml b/platon.yml index 64381d6..2b5b484 100644 --- a/platon.yml +++ b/platon.yml @@ -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 #