Move to PyMySQL instead of MySQLDB for ansible-2.7
Running this module with ansible 2.7.13 to an Ubuntu 16.04 target was failing with the following error message: "The PyMySQL (Python 2.7 and Python 3.X) or MySQL-python (Python 2.X) module is required." Not sure why the fallback to using MysqlDB wasn't working, but it looks like PyMySQL is the way forward. This should fix https://bugs.launchpad.net/openstack-ansible/+bug/1824987. Change-Id: Ic4ff3e24937d38e16fde843e350875c0024c92b2
This commit is contained in:
parent
edd360694e
commit
aa6bb9bf9b
@ -33,7 +33,7 @@ galera_server_required_distro_packages:
|
||||
- libgcc1
|
||||
- libgcrypt20
|
||||
- libstdc++6
|
||||
- python-mysqldb # needed by mysql_user
|
||||
- python-pymysql # needed by mysql_user
|
||||
- software-properties-common
|
||||
- xinetd
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user