Add prod erlang cookie
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
a7b56e6b08
commit
52c915cab4
1 changed files with 8 additions and 0 deletions
|
@ -69,6 +69,14 @@
|
|||
- rabbitmq_cluster
|
||||
- config
|
||||
|
||||
- name: deploy production cookie
|
||||
copy: content="{{rabbitmq_cluster_cookie_production}}" dest=/var/lib/rabbitmq/.erlang.cookie
|
||||
owner=rabbitmq group=rabbitmq mode=0600
|
||||
when: "env == 'production'"
|
||||
tags:
|
||||
- rabbitmq_cluster
|
||||
- config
|
||||
|
||||
- name: Create RabbitMQ systemd override directory
|
||||
file:
|
||||
path: /etc/systemd/system/rabbitmq-server.service.d/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue