Mysql problem module

Hello,

I would create a playbook for automate mysql database, but i have a problem

problem:

FAILED! => {“ansible_facts”: {“discovered_interpreter_python”: “/usr/bin/python”}, “changed”: false, “msg”: “The PyMySQL (Python 2.7 and Python 3.X) or MySQL-python (Python 2.X) module is required.”}

PS: i install the pymysql module

Thank you

Hello,

I would create a playbook for automate mysql database, but i have a problem

problem:

FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "msg": "The PyMySQL
(Python 2.7 and Python 3.X) or MySQL-python (Python 2.X) module is required."}

PS: i install the pymysql module

What is the target distribution? For modern ones it is recommended to use Python 3 as Ansible interpreter.

Regards
         Racke