Closed a118n closed 2 years ago
Thanks Daniel,
Will test with the same disto from my side
It worked with me normally from the first time 🤔
Rocky Linux release 8.4 (Green Obsidian)
MariaDB 10.3.28
ansible 2.9.27
Could you please check it with the latest MariaDB version from their repository? I used the script to add the repo: https://mariadb.com/kb/en/mariadb-package-repository-setup-and-usage/
I'm able to reproduce the issue after installing Mariadb 10.6, will check it
Daniel,
The issue is fixed. please clone again & it should work normally.
The issue was caused by that line
Actually it's my bad, forgot to remove it 😅
The reason of the issue:
As of Mariadb v10.4+ we can not use update mysql.user
to modify a user
Why it works on the next try ? the function that contains the error line is not triggered on the next tries (because the password is already changed on the first time) & since the password is already modified the function will no be triggered.
Eslam, Thank you for a quick response and a fix. Everything is working now. Closing the issue.
Hello, Getting an error when running this module. BUT, when running the playbook a second time - there's no error and everything works. Honestly have no idea what's going on. Traceback from ansible below. Rocky Linux 8.4 MariaDB 10.6.4 Ansible 2.11.2