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]