1
0
Fork 0
mirror of https://github.com/ansible-collections/community.mysql.git synced 2026-02-04 07:11:49 +00:00
community.mysql/changelogs/fragments/fix_user_module_for_default_roles.yml
TimKruth02 6f0c0be929
Fix user module for default roles (#718)
* mysql_user: fix crash when default role is set

* tests: add DEFAULT role to user to force the module to fail

* Add changelog fragment

---------

Co-authored-by: “tkr” <“tim.kruth@wiit.cloud”>
2025-07-08 10:41:38 +02:00

3 lines
326 B
YAML

---
bugfixes:
- "mysql_user - fix a crash (unable to parse the MySQL grant string: SET DEFAULT ROLE `somerole` FOR `someuser`@`%`) when using the ``mysql_user`` module with a DEFAULT role present in MariaDB. The DEFAULT role is now ignored by the parser (https://github.com/ansible-collections/community.mysql/issues/710)."