Open jimboolio opened 1 year ago
Does the proposed change in mailcow/mailcow-dockerized#5804 look good to you ? Note that the ansiblerole would need a note in the README as both CLAMD and SOLR are enabled by default, which would give a hard time to the hosting server.
Playbook
main.yml
calls generate_config.sh which checks the amount of available ram, if there is less than 2097152 (of some unit) the script will get infinitely stuck at row 105 and 125 ongenerate_config.sh
The play is currently like this:
On Ansible role side I'd suggest for fixing it for example by adding a timeout, like below (didn't yet test) and additionally mentioning somewhere that the role does not support (yet) these cases where installed memory is less than x amount:
A proper fix would be to modify
generate_config.sh
to handle these situations without interactions.