rabbitmq: Expliticly set HOME to /var/lib/rabbitmq.

Signed-off-by: James Antill <james@and.org>
This commit is contained in:
James Antill
2025-06-22 16:32:12 -04:00
committed by james
parent 307081e41c
commit 9421e125cb

View File

@@ -1,3 +1,12 @@
{% if ansible_distribution_major_version|int >= 9 and ansible_distribution == 'RedHat' %}
# Not obvious why this is now needed with el9, but we go out of our
# way to remove the user and el9 fails to start because of SELinux
# access problems on /home/fedora/rabbitmq/.erlang.cookie (which
# doesn't exit, but even if it does and contains the cookie SELinux
# fails).
HOME=/var/lib/rabbitmq
{% endif %}
NODENAME="rabbit"
USE_LONGNAME="true"