mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 10:32:27 +08:00
rabbitmq: Expliticly set HOME to /var/lib/rabbitmq.
Signed-off-by: James Antill <james@and.org>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user