diff --git a/defaults/main.yml b/defaults/main.yml index 1db9880..7f20304 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/templates/python-my.cnf.j2 b/templates/python-my.cnf.j2 index b013aa3..43de06a 100644 --- a/templates/python-my.cnf.j2 +++ b/templates/python-my.cnf.j2 @@ -1,3 +1,3 @@ [client] -user=root -password={{ mysql_root_password }} \ No newline at end of file +user={{ mysql_root_username }} +password={{ mysql_root_password }}