mailcow / mailcow-ansiblerole

The official ansible role to setup mailcow using Ansible
GNU General Public License v3.0
75 stars 49 forks source link

Add the ability to disable IPv6 #43

Open judokan9 opened 1 year ago

judokan9 commented 1 year ago

This PR adds a flag to disable IPv6.

It basically reproduces the steps in the official documentation and can be handy, if you only have an IPv4 address.

To disable IPv6, set mailcow__ipv6: 'no' in your host- or group_vars, if changed back to mailcow__ipv6: 'yes' or if you delete the option, all changes get rolled back and IPv6 is enabled again.

I did this mainly to get rid of the alerts from the watchdog, which tells me that IPv6 is not working on my host.