MYSQL failing on couple of servers

Hi All,

My playbook is running good on 90 servers getting all information mysql.

Issue is failing on 10 servers below is the error.

Note: Our ansible id doesn’t have root access.

The PyMySQL (Python 2.7 and Python 3.X) or MySQL-python (Python 2.X) module is required

Thanks
Raja

This shows you need to install pymysql python package on your remote host.

Thanks Raj…
Is it ok to install python verison 3. Because it have 2.7.5… i have to request unix team.

Thanks
Raja

If:

  • you do have internet on the nodes
  • you already have pip installed
    Then you can install PyMySQL in userspace with your non-root id:
    pip3 install PyMySQL - -user

Hi,

Don’t have root access perform this task.

Thanks