Only create the rabbitmq user on one member of the cluster
This commit is contained in:
parent
a3cac4de5b
commit
6088ebdd00
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue