-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
password_expire parameter not supported for mysql_user module #680
Comments
@maqsoodasad hello, thanks for opening the issue
then please tell us the result |
@Andersson007 - Thanks for your response. I tried the suggested recommendations but it still complained about the missing parameters. Updated
Updated collection
The
I am not sure if its related to the mysql version. https://galaxy.ansible.com/ui/repo/published/community/mysql/docs/?version=3.10.3
|
@maqsoodasad thanks for checking and the feedback. The error message indicates that the arguments are not present in the module: there's a special data structure which serves as an interface between ansible-core (where the inner work happens like checking the arguments a user passes, etc.) and the core throws this message if the passed arguments and expected arguments registered by a module don't match. So it doesn't relate to a used server version. |
Look for the |
SUMMARY
Hi,
I am getting "Unsupported parameters for (mysql_user) module: password_expire" when using password_expire parameter in mysql_user module. The module works fine if password_expire or password_expire_interval are not used.
ISSUE TYPE
COMPONENT NAME
Module = mysql_user
Parameter = password_expire and password_expire_interval
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Database where the users are being created
MySQL server = 8.0.32
Azure MySQL Flexible service
STEPS TO REPRODUCE
EXPECTED RESULTS
The task with mysql_user module should have executed successfully with the password_expire and password_expire_interval parameter.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: