RabbitMQ: store the admin password
This commit is contained in:
parent
f7caa45d44
commit
47a20bac7c
1 changed files with 11 additions and 0 deletions
|
@ -166,3 +166,14 @@
|
||||||
tags:
|
tags:
|
||||||
- rabbitmq_cluster
|
- rabbitmq_cluster
|
||||||
- config
|
- config
|
||||||
|
|
||||||
|
- name: Dump the admin password in a file for administrative operations
|
||||||
|
copy:
|
||||||
|
dest: /root/.rabbitmqpass
|
||||||
|
content: "{{ (env == 'production')|ternary(rabbitmq_admin_password_production, rabbitmq_admin_password_staging) }}"
|
||||||
|
mode: 0600
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
tags:
|
||||||
|
- rabbitmq_cluster
|
||||||
|
- config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue