From 8da0c0904d8f2016876400c744808a346202d99a Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 23 Apr 2020 10:08:21 -0700 Subject: [PATCH] Stop using mysqlclient ssl flag The ssl flag is deprecated and we get cronspam [0] warning us about this. The docs [1] say we should use ssl-mode instead. [0] WARNING: --ssl is deprecated and will be removed in a future version. Use --ssl-mode instead. [1] https://dev.mysql.com/doc/refman/5.7/en/connection-options.html#option_general_ssl Change-Id: I060bbfeaf1171dac50dcfcd2c62fcaa8956fb4e2 --- playbooks/roles/gerrit/templates/root.my.cnf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/gerrit/templates/root.my.cnf.j2 b/playbooks/roles/gerrit/templates/root.my.cnf.j2 index 379921f764..c44c5ee6fb 100644 --- a/playbooks/roles/gerrit/templates/root.my.cnf.j2 +++ b/playbooks/roles/gerrit/templates/root.my.cnf.j2 @@ -2,4 +2,4 @@ host={{ gerrit_mysql_host }} user=gerrit2 password={{ gerrit_mysql_password }} -ssl=false +ssl-mode=DISABLED