diff --git a/roles/mysql/tasks/Ubuntu_20_mysql_server.yml b/roles/mysql/tasks/Ubuntu_20_mysql_server.yml
index 8e5faf145c739ef402c66b39862bed2ddb81e223..fe9fbca79e0d99c908a7a0250a35cc047f1d06d8 100644
--- a/roles/mysql/tasks/Ubuntu_20_mysql_server.yml
+++ b/roles/mysql/tasks/Ubuntu_20_mysql_server.yml
@@ -11,7 +11,7 @@
 - name: Comment out bind address so it doesn't bind to 127.0.0.1
   replace:
     path: /etc/mysql/mariadb.conf.d/50-server.cnf
-    regexp: '(.*bind.*)'
+    regexp: '(bind.*)'
     replace: '#\1'
   become: true