Changing erlang cookies requires restarting the server
This commit is contained in:
parent
52c915cab4
commit
abb8274dba
2 changed files with 9 additions and 5 deletions
|
@ -65,6 +65,8 @@
|
|||
copy: content="{{rabbitmq_cluster_cookie_staging}}" dest=/var/lib/rabbitmq/.erlang.cookie
|
||||
owner=rabbitmq group=rabbitmq mode=0600
|
||||
when: "env == 'staging'"
|
||||
notify:
|
||||
- restart rabbitmq
|
||||
tags:
|
||||
- rabbitmq_cluster
|
||||
- config
|
||||
|
@ -73,6 +75,8 @@
|
|||
copy: content="{{rabbitmq_cluster_cookie_production}}" dest=/var/lib/rabbitmq/.erlang.cookie
|
||||
owner=rabbitmq group=rabbitmq mode=0600
|
||||
when: "env == 'production'"
|
||||
notify:
|
||||
- restart rabbitmq
|
||||
tags:
|
||||
- rabbitmq_cluster
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue