mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-18 16:31:26 -07:00
[stable-1] Doc commit backport (#196)
* Add CONTRIBUTORS file (#166) (cherry picked from commitac927fdb08
) * Add documentation for privs with functions and procedures (#169) (cherry picked from commit6bce48e771
) * Update README.md (#168) * Update README.md * Fix * Add MAINTAINERS file (cherry picked from commit479edd81d1
) * Improve wording in README (#170) * Improve wording in README * Update README.md Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu> Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu> (cherry picked from commitc909aa2182
) * Update REVIEW_CHECKLIST.md (#171) (cherry picked from commit2236110bae
) * README: add a note how people can complain (#172) * README: add a note how people can complain * Change * Improve * Update README.md Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu> Co-authored-by: Jorge Rodriguez (A.K.A. Tiriel) <jorge.rodriguez@tiriel.eu> (cherry picked from commitbe4e84a92a
) * README: fix typos (#174) (cherry picked from commit2a80c301a6
) * README.md: Add link to IRC (#175) (cherry picked from commit3335a95ba5
) * README.md, CONTRIBUTING.md: add links to the Maintainer guidelines (#179) (cherry picked from commit8fad3f85b8
) * Update README (#181) (cherry picked from commit6d9288d19b
) * Update README.md (#183) * Update README.md * Change IRC ref (cherry picked from commit69012a2eb9
) * README: fix link (#184) (cherry picked from commit8ab6ea7714
) * README: fix the channel name (#185) (cherry picked from commitcd759924fd
) * CONTRIBUTING.md: replace the content with a link to Ansible contributing guidelines (#187) (cherry picked from commit56a214885a
) * Update README (#186) * Update README * Fix * Fix * Fix * Fix * Add Libera.Chat link (cherry picked from commitadb201a795
) * fix typo (#190) "optoin" -> "option" (cherry picked from commit596ba0cedb
) * Update README.md (#191) * Update README.md * Update README.md (cherry picked from commit6f02cb266a
) * Add MAINTAINING.md, update README.md (#192) (cherry picked from commit0fabb2b77a
) Co-authored-by: Alexander Skiba <ghostlyrics@gmail.com> Co-authored-by: Baptiste Mille-Mathias <baptiste.millemathias@gmail.com>
This commit is contained in:
parent
d200481305
commit
9c17158802
8 changed files with 345 additions and 240 deletions
|
@ -53,6 +53,7 @@ options:
|
|||
the module will always report changes. It includes grouping columns
|
||||
by permission (C(SELECT(col1,col2)) instead of C(SELECT(col1),SELECT(col2))).
|
||||
- Can be passed as a dictionary (see the examples).
|
||||
- Supports GRANTs for procedures and functions (see the examples).
|
||||
type: raw
|
||||
append_privs:
|
||||
description:
|
||||
|
@ -188,6 +189,15 @@ EXAMPLES = r'''
|
|||
'db1.*': 'ALL,GRANT'
|
||||
'db2.*': 'ALL,GRANT'
|
||||
|
||||
# Use 'PROCEDURE' instead of 'FUNCTION' to apply GRANTs for a MySQL procedure instead.
|
||||
- name: Grant a user the right to execute a function
|
||||
community.mysql.mysql_user:
|
||||
name: readonly
|
||||
password: 12345
|
||||
priv:
|
||||
FUNCTION my_db.my_function: EXECUTE
|
||||
state: present
|
||||
|
||||
# Note that REQUIRESSL is a special privilege that should only apply to *.* by itself.
|
||||
# Setting this privilege in this manner is deprecated.
|
||||
# Use 'tls_requires' instead.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue