mailcow / mailcow-ansiblerole

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

netaddr package required #17

Open DimentR opened 3 years ago

DimentR commented 3 years ago

In my case, I get error

TASK [mailcow.mailcow_ansiblerole : Configure HTTP_BIND] **** fatal: [localhost]: FAILED! => {"msg": "The ipaddr filter requires python's netaddr be installed on the ansible controller"}

I suggest a fix

ntimo commented 3 years ago

Hey, thank you for the PR. This message mentions that the netaddr package needs to be installed on the ansible controller node. This could be as in your case be the host that mailcow runs on but it could also be a remote host. Therefore this change is not going to work for everyone. And I would therefore recommend to not install the package using ansible but rather list it as an requirement in the README.md. If you would like to add it to the README.md that would be amazing.