rabbitmq_cluster: cookies are 0400 after restart, set them right here too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
c8a77c5574
commit
e753bda034
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@
|
||||||
|
|
||||||
- name: deploy staging cookie
|
- name: deploy staging cookie
|
||||||
copy: content="{{rabbitmq_cluster_cookie_staging}}" dest=/var/lib/rabbitmq/.erlang.cookie
|
copy: content="{{rabbitmq_cluster_cookie_staging}}" dest=/var/lib/rabbitmq/.erlang.cookie
|
||||||
owner=rabbitmq group=rabbitmq mode=0600
|
owner=rabbitmq group=rabbitmq mode=0400
|
||||||
when: "env == 'staging'"
|
when: "env == 'staging'"
|
||||||
notify:
|
notify:
|
||||||
- restart rabbitmq
|
- restart rabbitmq
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
|
|
||||||
- name: deploy production cookie
|
- name: deploy production cookie
|
||||||
copy: content="{{rabbitmq_cluster_cookie_production}}" dest=/var/lib/rabbitmq/.erlang.cookie
|
copy: content="{{rabbitmq_cluster_cookie_production}}" dest=/var/lib/rabbitmq/.erlang.cookie
|
||||||
owner=rabbitmq group=rabbitmq mode=0600
|
owner=rabbitmq group=rabbitmq mode=0400
|
||||||
when: "env == 'production'"
|
when: "env == 'production'"
|
||||||
notify:
|
notify:
|
||||||
- restart rabbitmq
|
- restart rabbitmq
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue