Skip to content
Snippets Groups Projects
Commit ff74f523 authored by Gin Tan's avatar Gin Tan
Browse files

Merge branch 'gluster_fix' into 'master'

Alter the way gluster peer probe works

I had the syntax incorrect when the glsuter cluster consists of more than two nodes. We're not attempting to use three node clusters so we can't get split brain

See merge request !112

Former-commit-id: f5b091e5
parents 5faeba7e 822eba0f
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,9 @@
server_list: "{{ gluster_servers|join(',') }}"
- name: probe peers
shell: "gluster peer probe {{ (gluster_servers|difference([inventory_hostname]))|join(',') }}"
shell: "gluster peer probe {{ item }}"
run_once: true
with_items: "{{ (gluster_servers|difference([inventory_hostname])) }}"
become: true
become_user: root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment