You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Clarified error message about missing python modules, and tweak documentation to suggest overriding interpreter.
* Mention mysqlclient as another option
* Correct mysqlclient suggestions from python2 to python3
Co-authored-by: Matthew Exon <[email protected]>
Copy file name to clipboardExpand all lines: plugins/module_utils/mysql.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@
29
29
exceptImportError:
30
30
mysql_driver=None
31
31
32
-
mysql_driver_fail_msg='The PyMySQL (Python 2.7 and Python 3.X) or MySQL-python (Python 2.X) module is required.'
32
+
mysql_driver_fail_msg='A MySQL module is required: for Python 2.7 either PyMySQL, or MySQL-python, or for Python 3.X mysqlclient or PyMySQL. Consider setting ansible_python_interpreter to use the intended Python version.'
0 commit comments