mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-31 10:21:47 -07:00
added flush privileges to write dynamic privs into db
Fixes https://github.com/ansible-collections/community.mysql/issues/120
This commit is contained in:
parent
4aab8ac808
commit
c5b228c90d
1 changed files with 1 additions and 0 deletions
|
@ -625,6 +625,7 @@ def privileges_revoke(cursor, user, host, db_table, priv, grant_option, maria_ro
|
|||
|
||||
query = ' '.join(query)
|
||||
cursor.execute(query, params)
|
||||
cursor.execute("FLUSH PRIVILEGES")
|
||||
|
||||
|
||||
def privileges_grant(cursor, user, host, db_table, priv, tls_requires, maria_role=False):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue