From 41e1663bc31ee667f3c30c7a3955734b257f3dcd Mon Sep 17 00:00:00 2001 From: georg Date: Sun, 18 Feb 2018 22:51:46 +0000 Subject: [PATCH] Support systemd distros what use new interface names --- templates/etc/mysql/conf.d/09-galera.cnf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/etc/mysql/conf.d/09-galera.cnf.j2 b/templates/etc/mysql/conf.d/09-galera.cnf.j2 index 3ec5274..69d05f6 100644 --- a/templates/etc/mysql/conf.d/09-galera.cnf.j2 +++ b/templates/etc/mysql/conf.d/09-galera.cnf.j2 @@ -17,7 +17,7 @@ wsrep_sst_method=rsync # TODO: wsrep_cluster_name="my_wsrep_cluster" # Node Configuration -wsrep_node_address="{{ mysql_wsrep_node_address | default(ansible_eth0.ipv4.address) }}" +wsrep_node_address="{{ mysql_wsrep_node_address | default(ansible_default_ipv4.address) }}" wsrep_node_name="{{ mysql_wsrep_node_name | default(ansible_fqdn) }}"