mailcow-ansiblerole icon indicating copy to clipboard operation
mailcow-ansiblerole copied to clipboard

netaddr package required

Open DimentR opened this issue 3 years ago • 1 comments

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

DimentR avatar Aug 05 '21 21:08 DimentR

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.

ntimo avatar Aug 12 '21 05:08 ntimo