'mysql_user' module is not idempotent on Python 3.7 #60567
Labels
affects_2.8
This issue/PR affects Ansible v2.8
bug
This issue/PR relates to a bug.
database
Database category
has_pr
This issue has an associated PR.
module
This issue/PR relates to a module.
mysql
python3
support:community
This issue/PR relates to code supported by the Ansible community.
SUMMARY
The
mysql_user
module always reports the "changed" state on hosts with Python 3.7 set as the inrerpreter. The changed message points to 9c52750 commit as the possible culprit; the changed state shows up on Ansible 2.8.0+, but not on Ansible 2.7.0+. The actual functionality (creation of the MySQL user account, setting password, etc.) seems to work fine.ISSUE TYPE
COMPONENT NAME
mysql_user
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
The Ansible Controller is a Debian Buster (10) host, the working remote host is a Debian Stretch (9) host with Python 2.7 and 3.5 used as the interpreters (no changes). The faulty remote host is a Debian Buster (10) host with Python 3.7 as the interpreter.
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: