mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-04 05:04:23 -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.
(cherry picked from commit f547b66d35
)
This commit is contained in:
parent
be9347eb40
commit
01ce11c20c
1 changed files with 2 additions and 1 deletions
|
@ -770,6 +770,7 @@ class Role():
|
||||||
|
|
||||||
self.cursor.execute(*self.q_builder.role_grant(user))
|
self.cursor.execute(*self.q_builder.role_grant(user))
|
||||||
|
|
||||||
|
if set_default_role_all:
|
||||||
self.role_impl.set_default_role_all(user)
|
self.role_impl.set_default_role_all(user)
|
||||||
|
|
||||||
changed = True
|
changed = True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue