From aaac05c96c64aa9719b115c4366106ed7063e25c Mon Sep 17 00:00:00 2001 From: Guilherme Carlos Date: Wed, 22 Jul 2015 17:55:35 -0300 Subject: [PATCH] Fix login_user on mysql_user `login_username` was provided but `login_user` is the correct option --- lib/ansible/modules/database/mysql/mysql_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/database/mysql/mysql_user.py b/lib/ansible/modules/database/mysql/mysql_user.py index c7a8c72a8b..854641ec52 100644 --- a/lib/ansible/modules/database/mysql/mysql_user.py +++ b/lib/ansible/modules/database/mysql/mysql_user.py @@ -110,7 +110,7 @@ options: notes: - Requires the MySQLdb Python package on the remote host. For Ubuntu, this is as easy as apt-get install python-mysqldb. - - Both C(login_password) and C(login_username) are required when you are + - Both C(login_password) and C(login_user) are required when you are passing credentials. If none are present, the module will attempt to read the credentials from C(~/.my.cnf), and finally fall back to using the MySQL default login of 'root' with no password.