mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-05 10:10:32 -07:00
Update mysql_user.py - table/privilege spacing update (#687)
* Update mysql_user.py - table/privilege spacing update Add note for no spacing between the table and the privilege as this will make the task not idempotent in check mode but still make it idempotent when in normal mode. * Update plugins/modules/mysql_user.py Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> --------- Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
This commit is contained in:
parent
a5afa1a375
commit
93cd1850d9
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ options:
|
||||||
priv:
|
priv:
|
||||||
description:
|
description:
|
||||||
- "MySQL privileges string in the format: C(db.table:priv1,priv2)."
|
- "MySQL privileges string in the format: C(db.table:priv1,priv2)."
|
||||||
|
- Additionally, there must be no spaces between the table and the privilege as this will yield a non-idempotent check mode.
|
||||||
- "Multiple privileges can be specified by separating each one using
|
- "Multiple privileges can be specified by separating each one using
|
||||||
a forward slash: C(db.table1:priv/db.table2:priv)."
|
a forward slash: C(db.table1:priv/db.table2:priv)."
|
||||||
- The format is based on MySQL C(GRANT) statement.
|
- The format is based on MySQL C(GRANT) statement.
|
||||||
|
|
Loading…
Add table
Reference in a new issue