Skip to content

Commit 32111c9

Browse files
Alllow more than 10. as local IP range.
1 parent 55aad81 commit 32111c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

icpc-wf/ansible/files/mysql.replication.cnf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ log-bin = /var/log/mysql/mysql-bin.log
88
binlog_do_db = domjudge
99

1010
# Host specific replication configuration
11-
server_id = {{ ansible_default_ipv4.address | regex_replace('^10\.\d+\.\d+\.', '') }}
11+
server_id = {{ ansible_default_ipv4.address | regex_replace('^\d{2,3}\.\d+\.\d+\.', '') }}

0 commit comments

Comments
 (0)