Only create the rabbitmq user on one member of the cluster

This commit is contained in:
Aurélien Bompard 2018-10-05 08:39:35 +00:00
parent a3cac4de5b
commit 6088ebdd00

View file

@ -135,7 +135,7 @@
configure_priv: .*
read_priv: .*
write_priv: .*
when: env == "staging"
when: env == "staging" and inventory_hostname.startswith('rabbitmq01')
tags:
- rabbitmq_cluster
- config