mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-03 20:54:25 -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,7 +770,8 @@ class Role():
|
|||
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue