We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55aad81 commit 32111c9Copy full SHA for 32111c9
icpc-wf/ansible/files/mysql.replication.cnf.j2
@@ -8,4 +8,4 @@ log-bin = /var/log/mysql/mysql-bin.log
8
binlog_do_db = domjudge
9
10
# Host specific replication configuration
11
-server_id = {{ ansible_default_ipv4.address | regex_replace('^10\.\d+\.\d+\.', '') }}
+server_id = {{ ansible_default_ipv4.address | regex_replace('^\d{2,3}\.\d+\.\d+\.', '') }}
0 commit comments