From 9801de9b9f0685310bc997cdcfecc079281132a8 Mon Sep 17 00:00:00 2001
From: Jafar Lie <jafar.lie@monash.edu>
Date: Wed, 25 Mar 2020 16:48:18 +1100
Subject: [PATCH] mysql update

---
 roles/mysql/tasks/Ubuntu_18_mysql_server.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/roles/mysql/tasks/Ubuntu_18_mysql_server.yml b/roles/mysql/tasks/Ubuntu_18_mysql_server.yml
index f3e2d3d1..e573a918 100644
--- a/roles/mysql/tasks/Ubuntu_18_mysql_server.yml
+++ b/roles/mysql/tasks/Ubuntu_18_mysql_server.yml
@@ -13,6 +13,7 @@
     path: /etc/mysql/mariadb.conf.d/50-server.cnf
     regexp: '(.*bind.*)'
     replace: '#\1'
+  become: true
 
 - name: make sure mysql conf directory exists
   file: dest=/etc/mysql/conf.d state=directory
-- 
GitLab