From caf6115f43110b9f617551aaeded2f72e6cf0371 Mon Sep 17 00:00:00 2001 From: Jonathan Mainguy Date: Tue, 27 Oct 2015 12:09:01 -0400 Subject: [PATCH] Update documentation to reflect need for mysql client --- lib/ansible/modules/database/mysql/mysql_db.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/database/mysql/mysql_db.py b/lib/ansible/modules/database/mysql/mysql_db.py index 285a333a39e..77bd10ee1b8 100644 --- a/lib/ansible/modules/database/mysql/mysql_db.py +++ b/lib/ansible/modules/database/mysql/mysql_db.py @@ -83,13 +83,17 @@ options: required: false notes: - Requires the MySQLdb Python package on the remote host. For Ubuntu, this - is as easy as apt-get install python-mysqldb. (See M(apt).) + is as easy as apt-get install python-mysqldb. (See M(apt).) For CentOS/Fedora, this + is as easy as yum install MySQL-python. (See M(yum).) + - Requires the mysql command line client. For Centos/Fedora, this is as easy as + yum install mariadb (See M(yum).). For Debian/Ubuntu this is as easy as + apt-get install mariadb-client. (See M(apt).) - Both I(login_password) and I(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 C(root) with no password. requirements: [ ConfigParser ] -author: "Mark Theunissen (@marktheunissen)" +author: "Ansible Core Team" ''' EXAMPLES = '''