From 89ae460cd0268a92272151dd99cea36c052c0760 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Wed, 3 Feb 2016 09:44:22 -0500 Subject: [PATCH] Separating galera settings --- roles/db/templates/my.cnf.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/db/templates/my.cnf.j2 b/roles/db/templates/my.cnf.j2 index 2445fad..685011b 100644 --- a/roles/db/templates/my.cnf.j2 +++ b/roles/db/templates/my.cnf.j2 @@ -109,8 +109,11 @@ max_binlog_size = 100M # Galera settings wsrep_cluster_name=wrestlingdev -wsrep_cluster_address=gcomm://{% for host in groups['db'] %}{{ hostvars[host]['ansible_eth1']['ipv4']['address'] }}{% endfor %} + +wsrep_cluster_address=gcomm://{% for host in groups['db'] %}{{ hostvars[host]['ansible_eth1']['ipv4']['address'] }},{% endfor %} + wsrep_sst_method=rsync + wsrep_node_address={{ ansible_eth1["ipv4"]["address"] }} [mysqldump]