From f254b2a1b11bddaddfe69625ea14ef94844451dc Mon Sep 17 00:00:00 2001
From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de>
Date: Thu, 12 Aug 2021 22:26:47 +0200
Subject: [PATCH] Don't use root passwort to create mysql db and user

---
 uwsgi-python/tasks/mysql.yml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/uwsgi-python/tasks/mysql.yml b/uwsgi-python/tasks/mysql.yml
index d9bf593..2f50165 100644
--- a/uwsgi-python/tasks/mysql.yml
+++ b/uwsgi-python/tasks/mysql.yml
@@ -16,8 +16,6 @@
   mysql_db:
     name: "{{ app_db_name }}"
     state: present
-    login_user: root
-    login_password: "{{ app_db_root_password }}"
   no_log: true
   tags:
     - uwsgi-python
@@ -28,8 +26,6 @@
     name: "{{ app_user }}"
     password: "{{ app_db_password }}"
     state: present
-    login_user: root
-    login_password: "{{ app_db_root_password }}"
     priv: "{{ app_db_name }}.*:ALL"
   no_log: true
   tags:
-- 
GitLab