mirror of
https://github.com/aljazceru/ansible-role-mysql.git
synced 2026-01-09 16:54:29 +01:00
Make MySQL root username configurable
While this doesn't seem to make sense on first glance it is useful for systems which were screwed with Parallels Plesk, which renames the MySQL root user to "admin". This change allowes this role to be used while the server is transitioning from Plesk to Ansible.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
---
|
||||
mysql_user_home: /root
|
||||
mysql_root_username: root
|
||||
mysql_root_password: root
|
||||
|
||||
# Pass in a comma-separated list of repos to use (e.g. "remi,epel"). Used only
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[client]
|
||||
user=root
|
||||
password={{ mysql_root_password }}
|
||||
user={{ mysql_root_username }}
|
||||
password={{ mysql_root_password }}
|
||||
|
||||
Reference in New Issue
Block a user