mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-06 10:40:36 -07:00
Honor the set_default_role_all parameter (#282)
The set_default_role_all parameter is documented, but does nothing. This PR fixes this.
This commit is contained in:
parent
cbdf51234a
commit
f547b66d35
1 changed files with 2 additions and 1 deletions
|
@ -769,7 +769,8 @@ class Role():
|
||||||
|
|
||||||
self.cursor.execute(*self.q_builder.role_grant(user))
|
self.cursor.execute(*self.q_builder.role_grant(user))
|
||||||
|
|
||||||
self.role_impl.set_default_role_all(user)
|
if set_default_role_all:
|
||||||
|
self.role_impl.set_default_role_all(user)
|
||||||
|
|
||||||
changed = True
|
changed = True
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue