Open tchernomax opened 1 month ago
@tchernomax hi, thanks for reporting the issue! Would you like to investigate and possible fix it yourself or we can put the help_wanted label? There's the Quick start dev guide that can help.
This is crazy: version_added: '1.1.0'
this has been there for a long time.
i've put the help wanted label, any help is welcome
SUMMARY
→ FAILED! => {"changed": false, "msg": "unable to connect to database, check login_user and login_password are correct or /root/.my.cnf has the credentials. Exception message: (1043, 'Bad handshake')"}
Same problem with
But
→ OK
In fact https://github.com/ansible-collections/community.mysql/blob/a5afa1a375ebd7dc676ff6ab6f7323ce0b88b299/plugins/module_utils/mysql.py#L87 only test if
check_hostname
isNone
. Socheck_hostname=True
orcheck_hostname=False
produce exactly the same behavior.ISSUE TYPE
COMPONENT NAME
check_hostname
parameters.ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
OK, no change.
ACTUAL RESULTS