Skip to content
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

Create .my.cnf file before changing all root passwords #44

Open
swamikevala opened this issue Jul 2, 2019 · 0 comments
Open

Create .my.cnf file before changing all root passwords #44

swamikevala opened this issue Jul 2, 2019 · 0 comments

Comments

@swamikevala
Copy link

The mysql_user module requires the .my.cnf file to have the new root credentials stored before it can be used to update the passwords of the other root users. Otherwise the task fails with error msg: Using password: NO

The .my.cnf template task should be before the mysql_user task

From the mysql_user docs

Both login_password and login_user are required when you are passing credentials. If none are present, the module will attempt to read the credentials from ~/.my.cnf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant