Update mysql_db.py

Mention package installation instructions for CentOS in notes.
This commit is contained in:
Sudheer Satyanarayana 2015-07-26 18:08:33 +05:30
parent da39fd1625
commit f3a0f0f580

View file

@ -83,7 +83,8 @@ 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).)
- 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