File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 53
53
the module will always report changes. It includes grouping columns
54
54
by permission (C(SELECT(col1,col2)) instead of C(SELECT(col1),SELECT(col2))).
55
55
- Can be passed as a dictionary (see the examples).
56
+ - Supports GRANTs for procedures and functions (see the examples).
56
57
type: raw
57
58
append_privs:
58
59
description:
188
189
'db1.*': 'ALL,GRANT'
189
190
'db2.*': 'ALL,GRANT'
190
191
192
+ # Use 'PROCEDURE' instead of 'FUNCTION' to apply GRANTs for a MySQL procedure instead.
193
+ - name: Grant a user the right to execute a function
194
+ community.mysql.mysql_user:
195
+ name: readonly
196
+ password: 12345
197
+ priv:
198
+ FUNCTION my_db.my_function: EXECUTE
199
+ state: present
200
+
191
201
# Note that REQUIRESSL is a special privilege that should only apply to *.* by itself.
192
202
# Setting this privilege in this manner is deprecated.
193
203
# Use 'tls_requires' instead.
You can’t perform that action at this time.
0 commit comments