diff options
Diffstat (limited to 'tasks/rabbitmq_clustering.yml')
-rw-r--r-- | tasks/rabbitmq_clustering.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/rabbitmq_clustering.yml b/tasks/rabbitmq_clustering.yml index f9b5157..9dece46 100644 --- a/tasks/rabbitmq_clustering.yml +++ b/tasks/rabbitmq_clustering.yml | |||
@@ -12,13 +12,13 @@ | |||
12 | 12 | ||
13 | #- name: grabbing erlang cookie | 13 | #- name: grabbing erlang cookie |
14 | # shell: cat /var/lib/rabbitmq/.erlang.cookie | 14 | # shell: cat /var/lib/rabbitmq/.erlang.cookie |
15 | # register: erlang_cookie | 15 | # register: rabbitmq_erlang_cookie |
16 | # when: inventory_hostname == "{{ rabbitmq_master }}" | 16 | # when: inventory_hostname == "{{ rabbitmq_master }}" |
17 | 17 | ||
18 | - name: rabbitmq_clustering | copy erlang cookie | 18 | - name: rabbitmq_clustering | copy erlang cookie |
19 | template: | 19 | template: |
20 | src: erlang.cookie.j2 | 20 | src: erlang.cookie.j2 |
21 | dest: "{{ erlang_cookie_file }}" | 21 | dest: "{{ rabbitmq_erlang_cookie_file }}" |
22 | owner: rabbitmq | 22 | owner: rabbitmq |
23 | group: rabbitmq | 23 | group: rabbitmq |
24 | mode: 0400 | 24 | mode: 0400 |